Jump to content

Search the Community

Showing results for tags 'html5 validation'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. I have a form with two radio buttons, line 1 and 2, and a text box on the third line <input type="radio" name="mybox1" value="1" checked="checked" />No <input type="radio" name="mybox2" value="2" />Yes <input type="text" size="8" name="mytext" /> The requirement is: If "No" is selected, the textbox must be empty on submitting the form. If "Yes" is selected, the textbox on line 3 must not be empty on submitting the form. So I cannot add the attribute 'required' in the third line, instead I have to control it dynamically depending on the radio button selection. How can I accomplish this?
×
×
  • Create New...