Hi
I have a form with a text box on where a user can enter a value. Providing that value is in the right format it will change it.
For example if the user enters 5 or 5,1 they will get the following output when exiting:
5 year(s) or 5 year(s), 1 month(s).
What I need to do is ensure the user enter either a number or number comma number into the box otherwise they are alerted and bounced back to the textbox.
Anyone got any ideas how I could do this?
Thanks in advance.
Carl
I have a form with a text box on where a user can enter a value. Providing that value is in the right format it will change it.
For example if the user enters 5 or 5,1 they will get the following output when exiting:
5 year(s) or 5 year(s), 1 month(s).
What I need to do is ensure the user enter either a number or number comma number into the box otherwise they are alerted and bounced back to the textbox.
Anyone got any ideas how I could do this?
Thanks in advance.
Carl