Validating form field steven ward dating tips

24 Apr

Although this seems like a trivial question, I am quite sure it is not :) I need to validate names and surnames of people from all over the world. If it were only English ones I think that this would cut it: I doubt that this is feasible - there are just to much Unicode symbols to exclude all unwanted symbols (and how will tell you what Chinese symbols to exclude?

) and there are surly to many valid symbols to inlcude them all (and you will have Chinese symbols problem again).

Following pictorial shows in which field, what validation we want to apply.

Form validation is the process of checking that a form has been filled in correctly before it is processed.

For example, if your form has a box for the user to type their email address, you might want your form handler to check that they've filled in their address before you deal with the rest of the form.

function firstfocus() // This function will validate User id.

function userid_validation(mx,my) // This function will validate Password.