You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<divclass="col-md-4"><labelfor="validationCustom01" class="form-label">First name</label><inputtype="text" class="form-control" id="validationCustom01" value="Mark" required><divclass="valid-feedback">
Looks good
</div></div>
You will find that the massage "Looks good!" will not appear if you move the div about the input field. Therefore, I suggest to add something like label "for" as following
This discussion was converted from issue #40502 on May 29, 2024 05:38.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
If you look at the form validation code such as
You will find that the massage "Looks good!" will not appear if you move the div about the input field. Therefore, I suggest to add something like label "for" as following
and the massage can appear wherever you put this div in !
I hope my suggestion is clear for you .
Regards,
Edited by maintainer for syntax highlighting
Beta Was this translation helpful? Give feedback.
All reactions