Hey there,
Please update the message to include your code. The code was too long to be automatically inserted by the help button.
When you enter a code, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.
You can also use the “preformatted text” tool in the editor (</>
) to add backticks around text.
See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').
Step 28
Currently users can submit the form without checking the radio inputs. Although you previously used the required
attribute to indicate that an input is required, it won’t work in this case because adding required
to both inputs will convey the wrong information to users.
To solve this, you can provide context of what is needed by adding a legend
element with text Account type (required)
before the label
elements within the second fieldset
. Then add the checked
attribute to the Personal
input to ensure the form is submitted with the required data in it.
so the instruction for step 28 is adding “legend” element and “checked” attribute. you need to put the “legend” element between fieldset element and label element, and “checked” attribute to the “Personal” input.
You can add “legend” element like this. <legend>Your Text</legend>
and for the checked attribute . <input type="radio" checked/>
Hope this help!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.