Required Field Validators and Response.Redirect

R

Rob H

Simple question, I have a webform that uses required
field validators, I also have a button that links back to
that forms homepage. If the user wants to stop what
he/she is doing and clicks that link, the required field
validators all work as intended, but does not allow the
redirect.

Any possible workaround ?

Thanks,
Robert
 
H

Hans Kesting

Rob H said:
Simple question, I have a webform that uses required
field validators, I also have a button that links back to
that forms homepage. If the user wants to stop what
he/she is doing and clicks that link, the required field
validators all work as intended, but does not allow the
redirect.

Any possible workaround ?

Thanks,
Robert

Set RequiresValidation of that link to false


Hans Kesting
 
S

S. Justin Gengo

Rob,

In the design window click on the button in question and then view the
button's properties. Set the property "CausesValidation" to false and the
button will function without triggering the validators on the page.

--
Sincerely,

S. Justin Gengo, MCP
Web Developer / Programmer

Free code library at:
www.aboutfortunate.com

"Out of chaos comes order."
Nietzche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top