Hi Steven,
I'm not 100% sure this will work, but you can artificially add a
value for it to the items in the list and add a label for it,
indicating "Please select an item". Then you should be able to also
use the notEqual constraint to prohibit that value.
Let me know if this works.
Take care,
Geert
On 30 Aug 2006, at 19:19, Steven Grimm wrote:
Say I want something like
<select name="foo">
<option value="">Please select an item</option>
<option value="1">First choice</option>
<option value="2">Second choice</option>
</select>
In this case the inList() constraint would only list "1" and "2" as
the valid values for the field; the first option is for
presentation purposes only, and choosing it should ideally cause a
validation error.
Is there any way to do that using ${v FORM:SELECT:foo}?
-Steve
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users
--
Geert Bevin
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com
_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users