Bootstrap Advanced Forms Interview
1What does
needs-validation do?Answer: Marks form for custom validation workflow.
2Purpose of
was-validated?Answer: Activates validation feedback styles after submit attempt.
3Why use
novalidate attribute?Answer: Disables default browser validation UI for custom handling.
4What are floating labels?
Answer: Labels that move above input when value/focus present via
.form-floating.5Advanced UX best practice?
Answer: Show actionable inline validation messages with clear field mapping.