London | 26-ITP-Jan | Zadri Abdule | Sprint 2 | Form Control#1170
London | 26-ITP-Jan | Zadri Abdule | Sprint 2 | Form Control#1170Zadri415 wants to merge 12 commits intoCodeYourFuture:mainfrom
Conversation
✅ Deploy Preview for cyf-onboarding-module ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
cjyuan
left a comment
There was a problem hiding this comment.
Code is free of syntax error and well formatted. Well done!
- Currently, a user can still submit the form without filling in all input. Can you address this issue?
Updated the name input field to enforce a pattern that disallows only spaces.
Note: I just noticed this PR does not yet have a "Needs Review" label. Appologise if I reviewed your change prematurely. |
Updated input field for full name to require a minimum length of 2 characters.
|
The spec mentions, "All fields are required", but the current implementation does not yet fulfill this requirement. |
Updated radio button inputs to be required for color selection.
cjyuan
left a comment
There was a problem hiding this comment.
Changes look good. Well done!
| <input type="radio" name="color" value="blue" required> | ||
| Blue | ||
| </label> | ||
|
|
||
|
|
||
| <label> | ||
| <input type="radio" name="color" value="green"> | ||
| <input type="radio" name="color" value="green" required> |
There was a problem hiding this comment.
Note: Since these radio buttons belong to the same button group, multiple required is not necessary.
|
Closing PR because the January ITP run has finished. Feel free to re-open if you're still working on it. |

Learners, PR Template
Self checklist
Changelist
Added required input fields for name and email with validation
Added T-shirt colour radio buttons
Added size dropdown menu
Fixed HTML validator