|
-
Mar 27th, 2007, 02:55 AM
#1
Thread Starter
New Member
[02/03] How to checkbox is empty
Hello friends..I have two textboxes on a form accepting url and submit button.when user clicks on submit button, it checks
1) whether the textboxes r empty
2) both textboxes must have same url
3) url must be between 2 to 25 chars..etc
if all these conditions r true then it redirects to another page..
I have taken server controls (textboxes and submit )..and try to write javascript on onclick of that button..but it gives error..like' ")" expected '. what is the easiest way to do that?
-
Mar 27th, 2007, 07:08 AM
#2
Re: [02/03] How to checkbox is empty
Use the built in validator controls. Use a regex validator to check if the URL is valid, and a compare validator to ensure both URL's are the same.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|