Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Form Validation

Posted 24 Apr 2002 17:17:00
1
has voted
24 Apr 2002 17:17:00 Sean Maher posted:
OK, I'm sure eveyone comes across this at somepoint. I'm trying to set up my forms so that certain fields are required. Should be easy with the Validate Form behavior, but that only works for text fields. And, of course, everyone only uses textfields in their forms (note dripping sarcasm). What are some tricks for making text fields, drop downs and radios required. I'm looking for either a Java solution that pops a message "Fill these feilds out: a, b, c" or an ASP solution that returns back to the page with some variable or URL string I can use to let the viewer know which ones aren't complete. I don't need to check what is in the fields, just if they are filled or not.

(8')~

Replies

Replied 25 Apr 2002 00:03:24
25 Apr 2002 00:03:24 Jeremy Conn replied:
Try the 'Check Form' extension from <b>Yaromat</b>... it should do the trick nicely.

www.yaromat.com/dw/index.php?t=All&r=All

(UD4|IIS5|WXP|ASP)
*Connman21*
www.conncreativemedia.com
Replied 25 Apr 2002 15:03:36
25 Apr 2002 15:03:36 Sean Maher replied:
connman21 ~ you're the man.

(8')~
Replied 25 Apr 2002 16:19:59
25 Apr 2002 16:19:59 Sean Maher replied:
Well that didn't work. The extension doesn't appear to work if there is an insert or edit server behavior applied to the page. Any other ideas?

(8')~
Replied 25 Apr 2002 17:22:00
25 Apr 2002 17:22:00 Andrew Watson replied:
It will work stmaher , what event are you calling the check form behaviour???

It should be on the OnClick event of the submit button....

Cheers
LEED

:: Son, im Thirty.... ::
Replied 25 Apr 2002 17:27:38
25 Apr 2002 17:27:38 Jeremy Conn replied:
You must be doing something wrong (no offense) because I use this behavior on all my forms, whether they be insert, edit, or CDONTS email.

(UD4|IIS5|WXP|ASP)
*Connman21*
www.conncreativemedia.com

Edited by - connman21 on 25 Apr 2002 17:28:26

Reply to this topic