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

ASP requiredfieldvalidator or customvalidator

Nic
hey,

is it possible to put the message of the fieldrequiredvalidator (ex. field A is required, please fill in) in the statusbar? normally it comes next to the field, but that is horrible. or maybe is it possible to put the message on a specified possition?

Is it also possible to put the message in a dialogbox?

Tkx in advance
Nic
Nov 16 '05 #1
1 1728
Hello Nic,

It is normal to put the error message next to the field that is missed. If
you have a lot of fields for input and missed 3-4 fields for the user it
will be a nightmare to find out which field he/she's missed out
But there is a ValidationSummary control in ASP.NET that collect all the
information from the validators and put all error messages at one place AND
the validator is showing it's message next to the missed field.

Regards
Martin

"Nic" <Ni*@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
hey,

is it possible to put the message of the fieldrequiredvalidator (ex. field A is required, please fill in) in the statusbar? normally it comes next to
the field, but that is horrible. or maybe is it possible to put the message
on a specified possition?
Is it also possible to put the message in a dialogbox?

Tkx in advance
Nic

Nov 16 '05 #2

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

Similar topics

7
by: jcpmeticulus | last post by:
Hi I've spent the last day or so debugging a problem with a CustomValidator and am now totally stumped! Basically I use a number of CustomValidator's on my page, but have cut this down now to...
2
by: Stephen Miller | last post by:
Can the CustomValidator be used to simply report unexpected errors, without requiring Client/Server validation? To explain, say you had a simple text box and button that did a Full-text Search of a...
1
by: SMG | last post by:
Hi All. My forms has two textboxes, 1 username, 2 password. Both has requiredfield validator it works fine when there is no input in these textboxes. And the errorMsg is shown in...
1
by: Dan Nash | last post by:
Hi guys Is there a way to get a Validator to work so that the user must enter text in either one of 2 boxes? I want people to have to enter either a Contact Name or a Company. Any help...
0
by: ghafranabbas | last post by:
This is how you use the customvalidator control in any INamingContainer interface control (Datagrid, DataList, DataRepeater, etc). 1. In the ItemTemplate, place your customvalidator 2. Set the...
5
by: Hazz | last post by:
I needed to provide client side validation for a web forms text box, radio button list, and drop down list. I asked two developers I work with what they thought I should do. One said Javascript,...
1
by: Anup | last post by:
Hi Group, In my project I m using "RequiredFieldValidator" for the validations of text box, There are two TextBox, say "txtBox1" and "txtBox2" now I want to make either of TextBox mandatory,...
4
by: jonknutsonhome | last post by:
Does anyone know exactly how a RequiredFieldValidator works? Here is my situation. I am now in charge of a new project. I am making a new contactus.aspx page with required fields. Easy to...
1
by: Stan SR | last post by:
Hi, Is it possible to configure the RequiredFieldValidor to change the cssclass of the ControlToValidate if the field is empty ? Stan
1
by: staeri | last post by:
In my FormView I have a dropdownlist (dd1) and a textbox (txt1). It's ok to save a record if both are empty or both are filled. If a value is selected in dd1 then txt1 should also be filled to be...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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...

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.