docs.roxen.comBack to normal mode
DocsRoxen2.1Web Site Creator ManualText Tags
Copyright © 2001, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com

<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>