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 3 2368
"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 RequiresValidat ion of that link to false
Hans Kesting
Rob,
In the design window click on the button in question and then view the
button's properties. Set the property "CausesValidati on" 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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 will tell customer that they missed a field, "click
here" to go back & try again.
Does not need to be fancy telling them which field they missed. (Although would be nice) Can even require all fields to be filled out, or do again.
Currently it...
|
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, when users attempt to
cancel out of the form they cannot because the required field validators turn
on (because the page is posted back) and the users must actually input values
into the required fields and then click the cancel button.
How can...
|
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 Field Validators fire. I can't
figure out how to do that. Is there a better way of validating the info
rather than using field validators?
Any help is appreciated?
Thanks,
Brent
|
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 is when a user wants to close the form without adding a new
record and there's nothing in the fields it won't close.
I've tried to create in the vb code a way to turn off the validators but
they happen before the validator disable function runs....
|
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 ?
| |
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 virtual directory, not
making it a virtual directory. I am at a loss. I even uninstalled
framework, reinstalled 1.0, then sp3, then 1.1, then sp1. Still no
go. My code is simple, it used to work, the only thing I can think
that I did since it has...
|
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"
ErrorMessage="error" runat="server" />
<asp:checkbox id="chkDistiAudit" runat="server" CssClass="objControl_left"
Width="100px" Text="Disti Audit" Checked="True"></asp:checkbox>
|
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 has required validators for name, address,
etc... The next section is the "BRONZE MEMBER" section. It also has
required validators for the same fields. The user only has to fill out 1
set of info.
Any thoughts on how to accomplish this?
|
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 Required
Field Validators for both the drop down menus. I dont know whats the
reason but everytime I change the dropdown menu the page takes a long
time to reload and moreover I can even see the whole background graphic
layout with no table...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |