[solved] Formbuilder - setting selected="selected" from link
Posted: Fri Dec 16, 2011 12:54 pm
I'm planning a form which includes a select element (pulldown) for choosing from a list of items.
The items all have their own pages, and I'd like to provide a link on each of those pages to the form that will set the pulldown to the relevant item. i.e. applying selected="selected" to a specific option.
The variable for the pulldown is {$fld_10}, and there are 15 options in the pulldown, so how could I link to a page containing the following form tag to set the pulldown to option 5?
{cms_module module='FormBuilder' form='events'}
The items all have their own pages, and I'd like to provide a link on each of those pages to the form that will set the pulldown to the relevant item. i.e. applying selected="selected" to a specific option.
The variable for the pulldown is {$fld_10}, and there are 15 options in the pulldown, so how could I link to a page containing the following form tag to set the pulldown to option 5?
{cms_module module='FormBuilder' form='events'}