<<BACK    HOME    CNCPT    TTRL    JSsf.net/projects/validateformjs[ U | s | m | ? ]
   rqd dec eml int len mcr bss trm sifAll Concepts
   frm txt pwd txa rdo SL1 chk slmAll Object Types

validate_form.js
Object Type:  select-one

Compatible Concepts rqd dec eml int len mcr bss trm sif
Compatible Attributes sMsgRequired
Example Associationf_orm.your_sl1_lmnt.sVFAttribute = 'String value';
Example Object<SELECT NAME="favorite_food">
     <OPTION VALUE="">-- SELECT ONE --</OPTION>
     <OPTION VALUE="aldos_pizza">Pizza from Aldo's Pizzarama</OPTION>
     <OPTION VALUE="ritas_lemon">Lemon water-ice from Rita's</OPTION>
     <OPTION VALUE="green_beans">Steamed green beans with a splash of lemon</OPTION>
</SELECT>
Object RulesEvery select-one element in the form must have a unique name.

In order to be 'not provided' by sMsgRequired, there must be an OPTION with the VALUE of empty string (''). It is recommended that the first option have this value (interactive example).



























SourceForge.net Logo

Copyright (C) 2003-2005, Jeff Epstein.   All rights reserved.