docs.roxen.comView this page in a printer friendly mode
DocsRoxen2.1Web Site Creator ManualText Tags
Copyright © 2001, Roxen Internet Software
Suggestions, comments & compliments
manuals@roxen.com
 DEMO  DOCS  PIKE
 COMMUNITY  DOWNLOAD
www.roxen.com

   

<ai>
<autoformat>
<case>
<comment>
<?comment ?>
<default>
<doc>
<foldlist>
<obox>
<random>
<replace>
<smallcaps>
<sort>
<strlen>
<tablify>
<trimlines>
<wash-html>

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