473,405 Members | 2,160 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,405 software developers and data experts.

Should client-side validation pop-up a message box? It doesn't!!

Hello,

I have just added a required field validator control to a page and have
been testing out what happens when you post the page.

It seems that client-side validation is working as the page doesn't
actually get submitted if the field is empty, and the error message is
shown as expected. If you enter something in the field, the error
message goes away as you type.

The problem is that if someone is filling in the (fairly large) form and
clicks the OK button (which is right at the bottom), they will not think
anything has happened. Sure, there may be an error message further up
the page, but that could well be off the screen. At the moment, there's
no indication that an error was detected.

Shouldn't there be a pop-up message box informing them of the error? If
so, any idea why I don't get one? As I said, client-side validation
seems to be working fine apart from this.

TIA

--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #1
2 1051
You could throw a validation summary component right above the Ok
button. Then you'd get the error at the validator, and at the summary
location.

-Phil

Nov 19 '05 #2
>You could throw a validation summary component right above the Ok
button. Then you'd get the error at the validator, and at the summary
location.


Thanks, that was exactly what I wanted. I had it in my head that
individual validators gave a message box, but I guess that could be
pretty annoying if you had a lot of validators!!

Thanks again.

--
Alan Silver
(anything added below this line is nothing to do with me)
Nov 19 '05 #3

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

Similar topics

7
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
6
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: ...
1
by: Blue® | last post by:
The page below creates a popup message on the screen. It printed the popup box 30 pixels from the left: document.getElementById("dwindow").style.left="30px" How do I modify it so that the...
1
by: Paul | last post by:
Hi Guys and Girls I am trying to disable the clientside validation (Required Fields) by using the ValidatorEnable(id,false), which works find from the point of view that the client side script...
1
by: Kris | last post by:
Hi, I have a DataGrid where in each row has couple of text boxes and an update button. Each row is dynamically generated as the number of rows are not known ahead of time. When the user clicks the...
1
by: MattC | last post by:
I have a user control that contains several requiredFieldValidators. The page the control sits in has other RequiredFieldValidators. On submitting the form all the validators on the page fire and...
3
by: Jon Paal | last post by:
using VWD and asp.net 2.0 how do I enable clientside validation in ligin control ? Following code does not produce popup alerts or red asterisks . ==================== <div id="content">...
16
Inbaraj
by: Inbaraj | last post by:
HI.... This is Inbaraj... I am doing an Internet Chat program... I that if a person who enter into that portal a popup message should be displayed like in google talk.. In right hand side a...
2
by: dnnddane | last post by:
Hi All, I try to create a sample asp.net ajax application in visual studio 2005. I have 1 textbox, 1 requirefieldvalidator and 1 button. All are in updatepanel. When I click the button and the...
5
anfetienne
by: anfetienne | last post by:
what im trying to do is bring up a javascript message/popup message when a user closes their browser? Is it still possible to use popup messages in browsers today?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
marktang
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...
0
agi2029
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,...
0
isladogs
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...

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.