Forums
This topic is locked
Form input validation
Posted 25 Sep 2002 15:19:02
1
has voted
25 Sep 2002 15:19:02 Richard Peaker posted:
Can anyone give me some pointers on validating the input in a text field, and forcing the user to re-enter the information if the data isn't a number. I want to ensure that they only enter numbers in a field so that I don't get a type error as my field in the table is of type numeric.If there are any extensions that are available that would help me do this without writing any code then great!
Many thanks
Replies
Replied 25 Sep 2002 15:27:32
25 Sep 2002 15:27:32 Martha Graham replied:
I do not know what programming language you are using to validate your form?
But a useful extension is the Nextensio. Here is the link to a demo:
www.udzone.com/showDetail.asp?TypeId=3&NewsId=2875
If you would like to use JavaScript, look at this website: www.javascriptkit.com
Hope that this is useful to you.
Martha Graham
Dynamic Zones
But a useful extension is the Nextensio. Here is the link to a demo:
www.udzone.com/showDetail.asp?TypeId=3&NewsId=2875
If you would like to use JavaScript, look at this website: www.javascriptkit.com
Hope that this is useful to you.
Martha Graham
Dynamic Zones
Replied 25 Sep 2002 15:49:13
25 Sep 2002 15:49:13 Stuart Harland replied:
I know MX has a behaviour for form validation that would suit you perfectly (choose if a text box input is required, char, or numeric etc)
I'm can't remember if UD does, but have a look anyway. You would run the function from your submit 'onClick' event...then check your behaviour list to see if there is a 'validate form' option.
If not then go to www.macromedia.com/desdev/ > Then select <b>DW UltraDev</b> from the <b>Exchange</b> drop-down and search for <b>'Check Form'</b> you should get a good extension from <b>Jaro von Flocken</b>...
Hope it helps!
********************
wheatNOTmeat
I'm can't remember if UD does, but have a look anyway. You would run the function from your submit 'onClick' event...then check your behaviour list to see if there is a 'validate form' option.
If not then go to www.macromedia.com/desdev/ > Then select <b>DW UltraDev</b> from the <b>Exchange</b> drop-down and search for <b>'Check Form'</b> you should get a good extension from <b>Jaro von Flocken</b>...
Hope it helps!
********************
wheatNOTmeat
Replied 25 Sep 2002 16:09:11
25 Sep 2002 16:09:11 Martha Graham replied:
Check the Yaromat extension check form. www.yaromat.com/dw/
When you have downloaded it, you can find it in dreamweaver mx under Behaviors-yaromat-check form.
Good luck.
Martha Graham
Dynamic Zones
When you have downloaded it, you can find it in dreamweaver mx under Behaviors-yaromat-check form.
Good luck.
Martha Graham
Dynamic Zones
Replied 25 Sep 2002 16:25:22
25 Sep 2002 16:25:22 Richard Peaker replied:
Thanks very much indeed. I've downloaded the extension from Jaro von Flocken and it suits my needs perfectly.
One day, I'm going to have to learn to write my own code .... <img src=../images/dwzone/forum/icon_smile.gif border=0 align=middle>
One day, I'm going to have to learn to write my own code .... <img src=../images/dwzone/forum/icon_smile.gif border=0 align=middle>
Replied 23 Oct 2002 10:40:35
23 Oct 2002 10:40:35 Alan Chua replied:
Can share the link of the extension?
Replied 23 Oct 2002 11:11:03
23 Oct 2002 11:11:03 Martha Graham replied: