Simple HTML question that's bothering the heck out of me...
As you know, the include_form.html template is used by both the add.html and the modify.html templates. The various data fields are checked with an %if% function to determine if data exists, and if the data does exist, the fields are prefilled. Fine.
Radio buttons, checkboxes, and pull-down menus use a different syntax to determine values, however, and while I know how to set defaults on those fields, I don't know how to utilize the %if% function to preload these special fields with the correct existing data, so that a user modifying his/her record doesn't accidentally turn off a value that was previously turned on.
Can someone give me the statement I would need to use to preload non-text fields in the include_form template?
Alan Frayer
Don't just read the news - make the news!
Your World News - http://yourworldnews.frayernet.com
As you know, the include_form.html template is used by both the add.html and the modify.html templates. The various data fields are checked with an %if% function to determine if data exists, and if the data does exist, the fields are prefilled. Fine.
Radio buttons, checkboxes, and pull-down menus use a different syntax to determine values, however, and while I know how to set defaults on those fields, I don't know how to utilize the %if% function to preload these special fields with the correct existing data, so that a user modifying his/her record doesn't accidentally turn off a value that was previously turned on.
Can someone give me the statement I would need to use to preload non-text fields in the include_form template?
Alan Frayer
Don't just read the news - make the news!
Your World News - http://yourworldnews.frayernet.com