Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Prefill in include_form.html

Quote Reply
Prefill in include_form.html
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
Subject Author Views Date
Thread Prefill in include_form.html afrayer 2656 Nov 17, 2004, 7:44 AM
Thread Re: [afrayer] Prefill in include_form.html
Andy 2608 Nov 17, 2004, 8:24 AM
Post Re: [Andy] Prefill in include_form.html
afrayer 2575 Nov 17, 2004, 10:56 AM
Thread Re: [Andy] Prefill in include_form.html
afrayer 2569 Nov 17, 2004, 2:04 PM
Thread Re: [afrayer] Prefill in include_form.html
Andy 2577 Nov 17, 2004, 11:41 PM
Thread Re: [Andy] Prefill in include_form.html
afrayer 2566 Nov 18, 2004, 5:07 AM
Post Re: [afrayer] Prefill in include_form.html
Andy 2596 Nov 18, 2004, 5:23 AM