docs.roxen.com
main | demo | docs
download | community | pike
© 2000 Roxen Internet Software
Suggestions, Comments or Complaints
manuals@roxen.com

DocsRoxen2.0Web Site Creator ManualText tags
   

  • <ai>
  • <autoformat>
  • <case>
  • <comment>
  • <default>
  • <doc>
  • <foldlist>
  • <obox>
  • <random>
  • <replace>
  • <smallcaps>
  • <sort>
  • <strlen>
  • <tablify>
  • <trimlines>
  • <default></default>

    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
    value=string
    The value to set.
    separator
    separator=string (,)
    If several values are to be selected, this is the string that seperates them.
    name
    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>