Web Page View - Auto-select Check Boxes
From SmartWiki
Revision as of 15:42, 8 December 2008 by Julia Decker (talk | contribs)
To show check boxes on web page view, use the following syntax:
@checkbox('fieldname/filed number','selected value')@
- There are single quotes around field name and value.
Example: A custom field "Marital Status" is a multiple-select check box and options are "Single;Married;.Divorced".
Another web page custom field is created and source like this
<input type=checkbox @checkbox('Marital Status','married')@> Married
<input type=checkbox @checkbox('Marital Status','single')@> Single
<input type=checkbox @checkbox('Marital Status','divorced')@> Divorced
Impact: When a Multiple Select check box custom field is displayed in a Web Page View field the check boxes are displayed and already selected.