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
what do you think about adding some HTML attributes like required or CSS classes to form fields. This would improve the accessibility for users and developers can customize the appearance of the form fields e.g. drawing a red border for invalid form fields.
Do you have a quick solution on how to add class to the form field if its invalid? The function fieldInvalid(form) will determine if the field is invalid but how can I use the function to add a class for example for a text field?
Hey,
what do you think about adding some HTML attributes like
requiredor CSS classes to form fields. This would improve the accessibility for users and developers can customize the appearance of the form fields e.g. drawing a red border for invalid form fields.Do you have a quick solution on how to add class to the form field if its invalid? The function
fieldInvalid(form)will determine if the field is invalid but how can I use the function to add a class for example for a text field?