<default></default>
Provided by module: RXML 2 tags
Makes it easier
to give default values to "<select>" or
"<checkbox>" form elements.
The <default> container tag is placed around the form
element it should give a default value.
This tag is particularly useful in combination with database
tags.
Attributes
- value="string"
-
The value to set.
- separator="string" (,)
-
If several values are to be selected, this is the string that
separates them.
- name="string"
-
Only affect form element with this name.
<default name='my-select' value='&form.preset;'>
<select name='my-select'>
<option value='1'>First</option>
<option value='2'>Second</option>
<option value='3'>Third</option>
</select>
</default>
|
|