473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Required Field Validators and Response.Redirect


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

Nov 18 '05 #1
3 2354

"Rob H" <dr**************@hhotmail.com> wrote in message
news:08****************************@phx.gbl...

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
Nov 18 '05 #2
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
"Rob H" <dr**************@hhotmail.com> wrote in message
news:08****************************@phx.gbl...

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

Nov 18 '05 #3
THANK YOU!
Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Mark Creelman | last post by:
Hi: I am relatively new to ASP. I prefer Perl, but need to do this form to e-mail sipt for a web page, See Example of script below that works fine. I want to add the feature to this where it...
2
by: MrMike | last post by:
Hi. I have a webform with a two required field validators. I have a cancel button on the form which should allow the user to quit the form and Response.Redirect to a previous webform. However,...
5
by: Brent Burkart | last post by:
I have a page with a couple of Required Field Validators. However, I have a button which displays a popup with some information. I want this button to be able to work without having the Required...
1
by: Big E | last post by:
I'm using ASP.Net. I have a form that uses Required Field Validators. If the user tried to click a create new record button and certain fields aren't filled out then the RFV's show up. My problem...
4
by: Sorin Sandu | last post by:
I have a form with 2 textboxes, 2 required field validators for each textbox, and 2 buttons (OK, Cancel) Is it posible for cancel button to disable required field validators ?
0
by: Ratman | last post by:
Regular Expression validators NOT working, Required Field validators ARE working I have tried everything from moving the aspnet_client folder around from root to web application, making it a...
2
by: Asha | last post by:
greetings i want to use the required field validator control to validate a checkbox. here is the code implemented. <asp:RequiredFieldValidator ID="rfv" ControlToValidate="chkDistiAudit"...
3
by: VB Programmer | last post by:
Can you make a required field validator optional? I know it sounds crazy, but.... Let's say I have a signup form. It consists of 2 sections. The top section is a "GOLD MEMBER" section. It...
0
by: savvy | last post by:
I'm having some background graphics layout on the page and a table layout on top of it. Inside the table i have two DropDownList menus whose AutoPostBack Property is set to true and I'm using two...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.