| asp:RequiredFieldValidator (3 replies, VIP) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspngstart] to [aspng validators] by Cain Marco juggernaut@aspelite.com Hi all, Should asp:RequiredFieldValidator work in Netscape 6? I have managed to get it to work but oddly enough only disabling the execution function for the Netscape browser. I can't seem to get it to work by using the same code for IE. Any help will be appreciated. Thanks, AG |
|
| required field validator (7 replies) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspngfreeforall] to [aspng validators] by devin dmrader@sseinc.com I have 10 15 text boxes on my web form. I have a required field validator attached to each. I have a Submit and a Clear button. When clicking the Clear button, my required field messages pop up. How do I turn this off? |
|
| selective validation on the page (3 replies) |
| ASPFriends.com 'aspng-validators' list |
| Anyone, I've got a datagrid with a "Edit" column on a Webform page. I also have a set of textboxes in the same page which contain validators connected to them. But when i click on the "Update" button on the datagrid while i am editing the contents of the datagrid, validation is being performed. I want the update to be done without the validation on the page being performed. Is there anyway i can d... |
|
| Asp Validators (4 replies) |
| ASPFriends.com 'aspng-validators' list |
| Hi In my web page i have a textbox which uses required field validate .... i want the validaor to occur only when I fire a click event of another link button called add but it also fires when i want to go to the next page( which is another link button next) which I do not want . Can anyone suggest me how I am going to do thanks in advance Neel |
|
| Cancelling out of a form with validators. (2 replies, VIP) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspngibuyspy] to [aspng validators] by Let the good times roll bbilbro@hotmail.com Hi, I have a webform that has several textboxes with associated 'Required field' validators. If I add a 'CANCEL' button to the form, to allow the user to cancel out of the form entry, I find that the event model never actually gets to the cancel click event as the validators kick in first. So how do I ca... |
|
| Time Validator (2 replies, VIP) |
| ASPFriends.com 'aspng-validators' list |
| How do you create a Validator control that validates Time? For example the following validates Date values: asp:TextBox id "TextBox1" runat "server" /asp:TextBox asp:CompareValidator id "CompareValidator1" runat "server" ErrorMessage "Must be a date" ControlToValidate "TextBox1" Type "Date" Operator "DataTypeCheck" /asp:CompareValidator Is there some way to validate Time values this easily? Travis |
|
| Custom Validator (4 replies) |
| ASPFriends.com 'aspng-validators' list |
| Hi all, I am try to trying restrict upload to only .doc files. I have looked through the documentation and was really confused by the syntax. I attempted to use a regular expression validator but it doesn't seem to allow custom regex, unless I don't have the proper syntax. Below is the code for the custom validator I am trying to use. I've set the sub below as a break point and tried stepping thro... |
|
| Validation Query (2 replies) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspngfreeforall] to [aspng validators] by Tim Musschoot Tim.Musschoot@rug.ac.be I have a form and am using validation to ensure that the users enter the correct data. In one of the fields the users are entering some data that I need to check against a database (it's a discount code for a purchase). When the form is submitted is there any way that I can check the database and then if th... |
|
| Identifying Required Fields (2 replies) |
| ASPFriends.com 'aspng-validators' list |
| Pre ASP.Net it was traditional to mark required fields with a red asterisk (*) when a form is first displayed, whereas now with ASP.net it seems to be the fashion to identify required fields after the form has been submitted. Ideally I would like to be able to identify required fields with a red asterisks when the form is displayed and then if the validation fails to display a message beside the f... |
|
| validation problem (3 replies) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspngfreeforall] to [aspng validators] by One Million Dollars bbilbro@hotmail.com asp.net validation kinda stinks because everytime i request the server the validation occurs. For instance if I use an imagebutton to goto another site or a calendar control to get a date, the validation errors all pop up. any way around this? thanks, Greg |
|
| Clarification needed!? (2 replies) |
| ASPFriends.com 'aspng-validators' list |
| Copied from [aspngfreeforall] to [aspng validators] by Ken Schaefer ken@adopenstatic.com Okay, I've been asking about ValidationSummary/macintoshes, but just realized the validationsummary does not work with Netscape 4 or 6 either... Was I under the false assumption that the validation controls supported 4 level browsers? Or are they *only* IE supported on the client side? Can someone clarify this... |
|
| ValidationSummary on NN/Mac (3 replies) |
| ASPFriends.com 'aspng-validators' list |
| Okay, I've been asking about ValidationSummary/macintoshes, but just realized the validationsummary does not work with Netscape 4 or 6 either... I am referring to the CLIENT SIDE validation only...i know it works on the server, but I assumed that if the browser was javascript supportive it would validate on the client. Was I under the false assumption that the validation controls supported 4 level... |
|
| Validating radio buttons (2 replies) |
| ASPFriends.com 'aspng-validators' list |
| To validate a radio button group, is it necessary to build an asp:CustomValidator function, or is there something already built in? Thanks in advance. :::::::::::::::::::::: Howard Cheng howcheng@ix.netcom.com AIM: bennyphoebe ICQ: 47319315 |
|
| Validators and Mozilla (9 replies) |
| ASPFriends.com 'aspng-validators' list |
| I must be confused. It was my understanding that the validators would detect the capabilities of browsers and if incapable of running client side validation they would do server side validation. But... in Mozilla 1.0 my forms suddenly don't validate either on the client (b/c the validators don't work with Mozilla) OR on the server. My forms are submitting without validating. Is this the result of ... |
|
| NOT ANSWERED: Validators (3 replies) |
| ASPFriends.com 'aspng-validators' list |
| Original Message From: John Tyson Sent: Friday, May 17, 2002 7:59 AM To: 'aspngfreeforall' Subject: RE: [aspngfreeforall] RE: Passing of variables between ASP.Net pages Hi, I have an asp:DropDownList which is populated by a datareader. Once a selection is made from the DropDownList, a second control on the page is populated based on the value selected in the DropDownList. I have AutoPostBack set t... |
|
| resolving empty space (2 replies) |
| ASPFriends.com 'aspng-validators' list |
| I've got a stack of about 10 validators at the bottom of my form (above the submit button). Right now, when I first view the form, there is a long empty space where those validators are (hidden). Of course if someone leaves a field blank and hits submit they show up, but is there a way to make them dynamically expand that space when needed, otherwise not use any space at all? I don't like having t... |
|
| Date Regx.ValidationExpression="^(()|(0)|(1))\/((0)|())\/((\d{2})|(\d{4}))$"; problem (6 replies) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspngfreeforall] to [aspng validators] by devin devinr@drone interactive.com Hi, At runtime i create RegularExpressionValidator Regx new RegularExpressionValidator(); Regx.ControlToValidate oDr.GetString(oDr.GetOrdinal("ParameterDataType")) oDr.GetString(oDr.GetOrdinal("ParameterName")); Regx.ValidationExpression "^(([1 9])|(0[1 9])|(1[0 2]))\/((0[1 9]) |([1 31]))\/((\d{2})|(\d{4}))$";... |
|
| asp.net form validation (2 replies) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [ngfx sqlclient] to [aspng validators] by Marcie Jones marciejones@yahoo.com What's the recommended way to do form validation? 20 Use of the asp:RequiredFieldValidator ... control seems almost cumbersome, but that could be just because I'm not used to it yet....Any thoughts on this? How does this compare to the alternative javascript form validation and use of onSubmit approach used in ... |
|
| Decimal and BigInt (2 replies, VIP) |
| ASPFriends.com 'aspng-validators' list |
| What would be the best way to validate values in a textbox for: SqlDbType.Decimal and SqlDbType.BigInt It doesn't have to be t0o sound, just enough to stop someone from adding something really stupid. Thanks |
|
| Validators and CheckBoxList (2 replies) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspngfreeforall] to [aspng validators] by Devin devinr@drone interactive.com I am trying to get a checkboxlist to work with a customvalidator and I am getting a message that states, Control 'mychecklist' referenced by the ControlToValidate property of 'myCV' cannot be validated. Does this mean that you can't validate a checkboxlist? Joel Zinn jwzinn@aep.com |
|
| NOT ANSWERED checklist validation (3 replies) |
| ASPFriends.com 'aspng-validators' list |
| Copied from [aspngfreeforall] to [aspng validators] by Charles M. Carroll charlesmarkcarroll@yahoo.com I have an interesting problem with a certain page I'm writing in vb.net. This page has several checkboxlists on it. On page load, I load in previous selections they have made from the database. When they hit the save button, I need to confirm to the user that they intended to uncheck any of the s... |
|
| validation showing up too early... (7 replies) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspngvb] to [aspng validators] by devin devinr@drone interactive.com Hi folks, I have a form that I've created on one page, with several tables that become visible and them invisible as the user moves through the form. I have validation on every field (yeah, they're all required). The first table displays fine, and the submit and update to the next table works fine, but as soon as the ... |
|
| Validators and Submit (4 replies, VIP) |
| ASPFriends.com 'aspng-validators' list |
| Have a page with some data entry textboxes. Some of the textboxes have validators (required values). The page has two buttons what will submit the page. If button 1 is presses, the validators should fire, but if the button 2 is pressed, they shouldn't. Is there an easy way to tie the validators to a certain button click and not all submits? |
|
| asp:RadioButtonList validator? (2 replies) |
| ASPFriends.com 'aspng-validators' list |
| MessageHi, What kind of Validator can be used to check if a RadioButton has been checked in a form? Thanks wiseguys! Kristof |
|
| Validating checkboxes (4 replies) |
| ASPFriends.com 'aspng-validators' list |
| Just wondering if my findings are true that the Validator Controls do NOT support validating checkboxes (and dropdowns for that matter). Will have to do them by hand with JS or server side, unless I'm missing something? Thanks, Carson |
|
| excluding characters... (3 replies) |
| ASPFriends.com 'aspng-validators' list |
| Moved from [aspregexp] to [aspng validators] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi All, I am writing validation for an email address. First off, i want to make sure there isn't a problem using 2 RegularExpressionValidator's for one field.... Other than that this is what I have, the first works fine, but the second, where I'm trying to exclude ":", I can't figure out the syntax.... ... |
|
| NOT ANSWERED BEFORE: validation firing on postback - repost (4 replies, VIP) |
| ASPFriends.com 'aspng-validators' list |
| Is there a way to validate just a control or pane and not the whole page when you use page.validate? I have a second pane after a login pane, that displays a registration form, and all the fields have already been validated and are showing the 'required' message. I have to call validate.page because I am using an ontextchange event to submit. Thanks for any ideas on this. Original Message From: Br... |
|
| require AND validate (4 replies, VIP) |
| ASPFriends.com 'aspng-validators' list |
| What's the simplest method for both validating and requiring a certain field? For example, I have a field for an e mail address. I want to require the field AND validate it for email address. One solution is to put 2 validators on the control but I would really prefer not to do that. Hope someone can help. Carson |
|
| Compare Validator Case Insensitive? (4 replies, VIP) |
| ASPFriends.com 'aspng-validators' list |
| How do you make a compare validator case insensitive? Tia, Scott |
|
| Controling Validator.ErrorMessage (3 replies) |
| ASPFriends.com 'aspng-validators' list |
| My Req. Field Validator Error Messages show up on the page load. I would like them to show up only after the field Lost Focus. I have the .Display mode ValidatorDislay.Dynamic so after the cursor leaves the field, the message stays or goes away appropriately, but I want it to only show up if a mistake is made. The CompareValidator works like this, by default I guess because I haven't done anything... |
|
| Dynamically adding validation controls (3 replies) |
| ASPFriends.com 'aspng-validators' list |
| Copied from [aspngfreeforall] to [aspng validators] by Charles M. Carroll charlesmarkcarroll@yahoo.com Hi, I am adding required field validation controls to the form dynamically. It validates as expected by it never shows the errormessage on the screen. It does prevent post back. How do I solve this? Thanks. Vaishali Do You Yahoo!? Yahoo! Greetings send holiday greetings for Easter, Passover http:... |
|