Hi, having loads of trouble with some javascript validation, nothing seems to be working for me!
This is what has been set out as to what has to be done:
- the length of the input is bigger than 0 but not greator than 14
- only letters a-z "-" and space
- the "-" and space must be entered
- the "-" or space must not be either the first or last letter entered
- "-" must not be the immediate neighbour to a space
- "-" or space must not be adjacent
the data is entered through a normal textfield.
Any help would be greatly appreciated
Thanks for your help![]()


LinkBack URL
About LinkBacks
Reply With Quote
Pretty straight forward tbh. Think of it logically, break the task down into smaller tasks, what would you need to check etc?
