P
PayeDoc
Hello All
I have a text field on a form where I want to prevent the user from entering
a vlue that has more than one 'space' character.
I thought the best way to do this would be to have a function to count the
number of spaces, and then have some validadtion to prevent this count value
frok being >1. Is this the best way, and if so how to I count the number of
spaces?
Hope someone can help.
Many thanks
Leslie Isaacs
I have a text field on a form where I want to prevent the user from entering
a vlue that has more than one 'space' character.
I thought the best way to do this would be to have a function to count the
number of spaces, and then have some validadtion to prevent this count value
frok being >1. Is this the best way, and if so how to I count the number of
spaces?
Hope someone can help.
Many thanks
Leslie Isaacs