Top "Required" questions

Required is an HTML attribute of an input element that forces that the input be supplied.

ASP.NET Required Field Validator not working

Hi all I need a required field validator for my textbox..This is my textbox.. <asp:TextBox ID="txtTimeSlotGroupName" …

asp.net field validation required
textarea's "required" attribute doesn't work even though the value is empty

I created a simple page with list box and text area with conditions that all should be required. List box …

html textarea required
Enforce not-null field in JSON object

Our REST API receives some JSON objects input where some fields are required to be not null. Those can be …

java json rest jackson required
Javascript Validation for all field with Required attribute

I've searched high and low for the answer to this but can't find it anywhere. I have a form which …

javascript html forms required
Required and Optional Arguments Using Boost Library Program Options

I'm using Boost Program Options Library to parse the command line arguments. I have the following requirements: Once "help" is …

c++ boost boost-program-options required optional
Django: Make certain fields in a ModelForm required=False

How do I make certain fields in a ModelForm required=False? If I have: class ThatForm(ModelForm): class Meta: widgets = {"…

django forms field required modelform
@XmlElement(required=true) for @WebParam does not work

I'm building web service using JAX-WS. I have a strange problem that the annotation @XmlElement(required=true) for @WebParam works …

java annotations jax-ws required
@Autowired vs @Required on setter

I'm curious to know what's the difference between code like this: class MyClass { @Autowired MyService myService; } and code like this: …

java spring resources autowired required
HTML5 Required input styling

In HTML 5, we can mark inputs as required and then select them with the [required] pseudo-selector in CSS. But I …

html css validation required
make a input field required if radio is checked

Can I somehow insert the required attribute into an input field only if a certain radio is checked? I have …

javascript html radio-button onchange required