-
-
Notifications
You must be signed in to change notification settings - Fork 409
Glasgow | Jan-26 | Abraham Habte | Sprint 2 | form control #1016
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
…l as placeholders
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
LonMcGregor
left a comment
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.
Good start on this task, I've left some comments with pointers
| <span>Customer Name: </span> | ||
| <strong><span aria-label="required">*</span></strong> | ||
| </label> | ||
| <input type="text" id="name" name="customer-name" required pattern="[A-Za-z\s\.]+" minlength="2" maxlength="40"/> |
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.
Some people have very long names,how would your application react to this?
| <span>Email: </span> | ||
| <strong><span aria-label="required">*</span></strong> | ||
| </label> | ||
| <input type="email" id="email" name="customer-mail" required minlength="5" maxlength="50" placeholder="example@gmail.com" /> |
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.
same comment as for the names, if they have a very long email, would they still be able to use your app?
| <span>Color:</span> | ||
| <strong><span aria-label="required">*</span></strong> | ||
| </label> | ||
| <select id="color preference" name="color preference"> |
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.
You offer one of the options pre-selected here. What do you think would happen if someone pressed the "enter" key thinking it would take them through the form to make choices?

Self checklist
Changelist
creatining all the requerd form with requirment and placeholders
Questions
No Questions