• Post Reply Bookmark Topic Watch Topic
  • New Topic

Richfacs Validations - Regular Expression Dont work for min length

 
sandeep lokhande
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
i am sandy from Mumbai<INDIA>,

i am doing client side validation in Richfaces,
and now it is the case that regular expression wont work for length,

as [0-9]{10}

for mobile number,

i just want it should give error when less than 10 digit number is inserted and we submit the form.

here is the code,





whats the problem,
please suggest the solution,
Thank you in advance.
 
sandeep lokhande
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
and another thing to be said that,

allowDecimals="false" minLength="10" maxLength="10"

These attribute in <sf:clientNumberValidator tag is not present,
upon inserting such attribute it says,

Attribute is not defined in components Interface

whats the problem,
please suggest the solution,
Thank you in advance.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!