On a form, when I input "123.fff" in numberTF and then
submit the form, I get numberTF=123.0 in my form
listerner method and no validation error. I was
expecting a validation error. Should 123.fff fail the
validation ?
<component id="numberTF" type="TextField">
<!-- number is of type double -->
<binding name="value" value="number"/>
<binding name="translator"
value="translator:number,pattern=#.#"/>
<binding name="validators"
value="validators:required"/>
<binding name="displayName" value="literal:Input
number"/>
</component>
Shing
Home page :
http://uk.geocities.com/matmsh/index.html
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail
http://uk.messenger.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]