• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Richfacs Validations - Regular Expression Dont work for min length

 
Ranch Hand
Posts: 120
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic