requiredfieldvalidator Questions
5
I have a DropDownList binded with aSqlDataSource to display the values from the database.
I am unable to validate using a RequiredFieldValidator.
Oeillade asked 17/2, 2010 at 12:34
12
Solved
I have a class like this:
public class Document
{
public int DocumentType{get;set;}
[Required]
public string Name{get;set;}
[Required]
public string Name2{get;set;}
}
Now if I put a [Requ...
Cryptogram asked 14/10, 2014 at 7:20
17
I need to change color of TextBox whenever its required field validator is fired on Clicking the Submit button
Burrows asked 13/10, 2008 at 6:35
4
Solved
I'm using the laravel framework for a project, and I'm implementing a basic form page, where I require certain values to be required, something that can be done very easily in HTML5.
<input typ...
Brentonbrentt asked 25/6, 2014 at 9:55
2
Solved
I've got a drop-down where the user selects a Country. It is a required "field".
Next to it, there is a textfield named State. If the user selects US, then the field State is required. If the user...
Alkylation asked 23/4, 2010 at 14:44
2
Solved
Is it possible to force/require a user to make a selection from a drop down menu?
Example:
<form action="">
<select name="cars">
<option value="volvo">Volvo</option>
<op...
Cabot asked 17/10, 2012 at 16:14
4
Solved
I have Dropdownlist whose value field and text field are bind at runtime.
it has --select-- as first item with a value of 0
and the rest of the values are bind at runtime.
I have given validaton g...
Larrabee asked 15/3, 2011 at 10:50
4
Solved
I am using the [Required] attribute for the client-side validation in ASP.NET MVC 3.
The class looks as:
public class User
{
[Required(ErrorMessage = "First Name is required")]
public string ...
Starryeyed asked 20/4, 2011 at 14:17
6
Solved
I want to validate some text boxes in my ASP.NET page using ASP required field validation. And I want to display that error message in top of the page.
<table>
<tr><td colspan='2'&...
Cymophane asked 12/5, 2012 at 10:34
4
Solved
I have the following validator on a textbox inside a modal dialog box.
<asp:RequiredFieldValidator runat = "server"
ErrorMessage = "Role name can not be empty."
ControlToValidate = "tbxRoleN...
Fayefayette asked 13/6, 2011 at 15:3
7
Solved
I have run into the same problem as described here.
Only the question is marked as answered with only an explanation as to why you may have to click twice when using a RequiredFieldValidator on in...
Camus asked 20/6, 2012 at 14:23
9
Solved
how to display only single message for multiple RequiredFieldValidator instead of individual message for RequiredFieldValidator ?
i want to as shown in following image..
my view is..
Laxative asked 12/1, 2012 at 12:3
2
Solved
I've recently realized that RequiredAttribute does not work on enum fields. Let's say I have two select elements called ddlOfficers and ddlApplicationTypes on the form both rendered with the help o...
Cherubini asked 28/8, 2014 at 12:24
7
Solved
I have an ASP.NET form with three text inputs, one each for "Work Phone", "Home Phone" and "Cell Phone". Each of these text inputs has a RequiredFieldValidator associated with it. I also have a Dro...
Clydesdale asked 31/3, 2010 at 16:50
2
Solved
I am using RangeValidator to validate date enter in textbox and its working fine with default date format but now i want the date format in "dd/MM/yyy" but its generating excption with this date fo...
Singular asked 26/7, 2010 at 6:19
2
Solved
I have a list of Pair of radio buttons (Yes/No):
Q1.(Y)(N)
Q2.(Y)(N)
Q3.(Y)(N)
Q4.(Y)(N)
and I have one property in my model
public string MedicalExplanation { get; set; }
My goal is to make...
Jujutsu asked 22/7, 2013 at 19:20
6
Solved
now, the error message will display if I move out of current textbox. I don't want to display it until I click submit button.
Lear asked 18/5, 2010 at 6:43
3
Solved
i have a problem that i have specified the color of RequiredFieldValidator to red but when i publish the website on net the color of RequiredFieldValidator is changed to black. it works fine in loc...
Sleety asked 16/1, 2012 at 6:5
4
Solved
I am working with a wizard, where the user can sign up. There is a asp:RadioButtonList with two options, and some of the input fields in the wizard changes when the radiobutton changes. On each fie...
Adenoidal asked 14/3, 2012 at 14:37
4
Solved
I use required for a 1st check before submitting a form.
<form action="myform.php">
Foo: <input type="text" name="someField" required="required">
<input type="submit" value=...
Vaughan asked 10/9, 2013 at 17:13
1
Solved
I have a problem where my page has a required field validator, but I also want to use a 'cancel'
button which will take the user back to the menu page using response.redirect("default.aspx");
Prob...
Effortful asked 9/8, 2013 at 9:40
4
Solved
I validated some fields in my form.. But i have some issues..If without enter fields it shows error message.. If fill out the field still error message is showing..
How to put that ?
My code
$(...
Indirection asked 20/7, 2013 at 6:15
1
Solved
hi i have a RequiredFieldValidator Like this
<asp:TextBox ID="txtEmployeeID" runat="server" MaxLength="255" CssClass="txt"
OnTextChanged="txtEmployeeID_TextChanged" AutoPostBack="True"
Vali...
Somerville asked 14/6, 2013 at 9:40
4
Solved
I have a non standard submit button in my ASP.NET form along the lines of.
<a class="button" href="#" onclick="this.blur();SubmitForm();"><span>Submit</span></a>
Due to t...
Twink asked 20/6, 2011 at 17:30
3
Solved
I have a form with maybe 10 fields. One of those fields is a checkbox, default unchecked, and a number of the fields on the form are only enabled+required if that box is checked. I've successfully ...
Discursion asked 14/6, 2011 at 13:27
1 Next >
© 2022 - 2024 — McMap. All rights reserved.