form validation

  • montyt
  • Proficient
  • Proficient
  • User avatar
  • Posts: 275

Post 3+ Months Ago

hi guys
i am making a contact form. There is text field to insert contact number.

Now here i am looking for the validation of text field. That user can only enter numbers only no words.

how do i do this, That user is allowed to enter number only at "contact number" text field.

thanks
:)
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • JasonStanley
  • Graduate
  • Graduate
  • JasonStanley
  • Posts: 124
  • Loc: London, England

Post 3+ Months Ago

Whoops, didn't realize this was in a flash forum.
  • montyt
  • Proficient
  • Proficient
  • User avatar
  • Posts: 275

Post 3+ Months Ago

not working or may be i am not understanding the php codes.

problem is solved. Just embed the fonts Numericals [0....9] .

that's fine but i am looking solution via scripts also.

thanks
  • montyt
  • Proficient
  • Proficient
  • User avatar
  • Posts: 275

Post 3+ Months Ago

problem solved

textName.restrict = "0-9";

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 21 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.