fany
Posts: 0
Joined: Mon May 04, 2015 7:44 am

Validation

Hi can i know what is the javascript for contact number validation at register page?
Like for example, when user registers & then have to enter their contact number, some things such as $,%, alphabet all is not allowed to enter. So how do i do this?

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Validation

Hi -

Algorithm of validation checking should be developed by you in this case, there is no ultimate solution.

fany
Posts: 0
Joined: Mon May 04, 2015 7:44 am

Validation

is there any example?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Validation

Unfortunately we do not have any ready example.

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

Validation

Hi Fany,
try to change the properties of the "TEXT COMPONENT", so the textinput accepts numbers only.

Screenshot is in below:
Image

and in special character try to use indexof("$");
or follow this link for sample javascript: http://stackoverflow.com/questions/90...

Goodluck,
She

Return to “Issues”