Forum OpenACS Development: using -section "HTML" in ad_form

Collapse
Posted by Samer Abukhait on
this code (from dotlrn-homework):
ad_form -name homework_form -html { enctype multipart/form-data } -export { return_url folder_id homework_file_id } -form {
    file_id:key
    {upload_file:file {label "[_ dotlrn-homework.lt_version_filename]"}}
    {-section "<font size=\"-1\">[_ dotlrn-homework.lt_use_browse]</font><p>&nbsp;"}
}

renders the text in -section quoted while it should not be.
is there a way to solve this? should ad_form be modified or their is a way to ;noquote a text in TCL?
Collapse
Posted by Randy O'Meara on
Samer,

It may the same problem that was discovered by Jade:

https://openacs.org/forums/message-view?message_id=145776

Randy

Collapse
Posted by Tilmann Singer on
I don't think that should be noquoted. There shouldn't be any html in the section headline in the first place. If dotlrn really needs a different layout for their forms then it should implement it's own form builder style, not adding html to the section headline.