twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
168k stars 78.53k forks source link

Form Validation customization #40573

Open Splash-Nemo opened 1 week ago

Splash-Nemo commented 1 week ago

Prerequisites

Proposal

Implement robust client-side validation in Bootstrap forms with customizable error messages and styling options.

From https://github.com/twbs/bootstrap/issues/40573#issuecomment-2183607649:

I'm suggesting we make Bootstrap forms better by adding strong validation features. This means error messages that can be customized for different needs, like required fields or wrong email formats. Also, we'd add options for changing how forms look, so developers can match them to different designs or brand styles. They could adjust colors, fonts, and animations easily. This would give more freedom and make websites easier to use. Thanks for considering this improvement.

Motivation and context

It will ensure accurate data entry and also enhance user experience with customizable error messages and styling options, optimizing usability and reliability.

julien-deramond commented 1 week ago

Thanks for this feature request @Splash-Nemo Could you please modify your description to elaborate more your proposal? I would allow the community to understand exactly what you would expect to be added/improved.

Splash-Nemo commented 1 week ago

@julien-deramond I'm suggesting we make Bootstrap forms better by adding strong validation features. This means error messages that can be customized for different needs, like required fields or wrong email formats. Also, we'd add options for changing how forms look, so developers can match them to different designs or brand styles. They could adjust colors, fonts, and animations easily. This would give more freedom and make websites easier to use. Thanks for considering this improvement.