Apr 21st, 2010, 12:56 AM
(Apr 20th, 2010, 8:26 PM)Ben Wrote: Hi Bert,
Ah, sorry I didn't realize you needed to cover all those cases.
In that case, I'd open it up to allow any sequence of characters 1-4 digits long that contain those characters (0-9 & ,). Try this:
Code:rules.push("reg_exp,aantal_groen,^\s*[0-9\\,]{1,4}\s*$,i,alleen cijfers en komma!");
- Ben
Hi Ben,
Please have a look at my form online:
http://www.bvdveen.com/hortivorm/werktijden.html
Feel free to post as many times that you want to try out the implementation of the rule so far. I corrected the rule with a backslash after the \\, ....as you suggested before.
Greetings and thanks again ( I must be converting myself as the stone on your ankle)
Bert