Jump to content
Larry Ullman's Book Forums

Chapter 2 - Script 2.1 - form.html


Recommended Posts

Line 24 of the script:

<p><label for="gender">Gender: </label><input type="radio"  name="gender" value="M"> Male <input type="radio" name="gender" value="F"> Female</p>

Generates two - "Missing associated label" warnings and one "invalid id reference" error when using JetBrains PHPStorm 2020.2.  Why and how can this be corrected? 

Despite the warnings and error messages, the script functions correctly.

Thank you!
 

Link to comment
Share on other sites

 Share

×
×
  • Create New...