-
-
Notifications
You must be signed in to change notification settings - Fork 378
Sheffield | 26-ITP-Jan | Daniel Aderibigbe | Sprint 2 | Form Controls #973
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| <input | ||
| type="text" | ||
| id="name" | ||
| required | ||
| name="customerName" | ||
| minlength="2" | ||
| /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently a user can enter a name consisting of only space characters (e.g., " "). Can you enforce a stricter validation rule using the pattern attribute to disallow any name that contains only space characters?
| try writing out the requirements first as comments | ||
| this will also help you fill in your PR message later--> | ||
| <fieldset> | ||
| <legend>Customer details</legend> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| <legend>Customer details</legend> | |
| <legend>Customer Details</legend> |

Self Checklist
Changelist
I build a form using semantic HTML using fieldset and legend tags, added required inputs for name and email validation and achieved a 100 in my LightHouse Accessibility.