Anyone help me to resolve this
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/How-to-restrict-users-only-to-enter-numeric-values-in-text-field-tp5472151p5485830.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
Changed the database structure to integer and it works fine (tapestry
validates if when I entered any letters other than numbers), but my
expectations is even when I typed alpha letters in the keyboard it should
give only numbers in the text box is that possible?
Also after I changed my database
Hi!
Use
t:validate="required,maxlength=10,regexp=^[0-9]+$"
Markus
> Hi,
>
>
> Here is what I coded to have a text field which is used to enter phone
> number
>
> t:label="Phone Number" t:validate="required,maxlength=10"
> t:mixins="lombok/watermark" message="Enter your phone number"
> class="si