About 8,770,000 results
Open links in new tab
  1. html - required or required = "required" - Stack Overflow

    Sep 24, 2013 · Required This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden, image, or a button type (submit, reset, or …

  2. validation - How to Indicate Required Fields? - Stack Overflow

    Source: Form fields — Required vs Optional by Jordane Sanson Why use optional fields is always better than required : An asterisk is obvious to you, not to everyone, believe me, there are always some …

  3. How to use the "required" attribute with a "radio" input field

    Feb 24, 2020 · 1024 TL;DR: Set the required attribute for at least one input of the radio group. Setting required for all inputs is more clear, but not necessary (unless dynamically generating radio-buttons). …

  4. How do I make a field required in HTML? - Stack Overflow

    Find out how to make a field required in HTML forms using the "required" attribute and ensure proper validation for user inputs.

  5. How to set HTML5 required attribute in Javascript?

    edName.attributes.required = [object Attr] That's because required in that code is an attribute object, not a string; attributes is a NamedNodeMap whose values are Attr objects. To get the value of one of …

  6. html - Required attribute HTML5 - Stack Overflow

    Required attribute HTML5 Asked 15 years, 7 months ago Modified 7 years, 6 months ago Viewed 217k times

  7. Validation | required="true" / "false" | HTML form - Stack Overflow

    Explains how to use the "required" attribute in HTML forms for input validation, including examples and best practices.

  8. What does it mean for a property to be [Required] and nullable?

    Required is a data annotation for the view. The view will require it to have a value prior to accepting a form post. That the value is nullable is related to what is allowed in the database. A value may be null …

  9. Conditional required validation in angular reactive form

    Oct 18, 2018 · I want to apply conditional validation on some properties based on some other form values. I have referred some answers Angular2: Conditional required validation, but those are not …

  10. Why were `required` and `optional` removed in Protocol Buffers 3?

    I noticed that required and optional have been removed in the new syntax. Why were required / optional removed in proto3? Such keywords introduce constraints which should improve robustness.