Continuation of your previous task Discuss among your group members and pick a
user category and Implement the PHP validation based on the corresponding
validation rule. Your HTML Form must be inside view folder and Create a seprate
folder name control and create a file name reg_control then write all the PHP
validation logic inside it. If user input does not meet validation criteria then show
relevant message.
User Category 1:
• Must contain only alphabets, include at least a uppercase letters
• Email Address field is required, and the input must contain @ and .xyz
domain
• Password field is required, and it must contain one numeric character
• Validate checkbox fields which user must check at least one checkbox.
User Category 2:
• Name Should be at least 4 characters
• Email Address field is required, and the input must contain [Link] domain
• Validate drop down/select fields which user must select one option.
• Phone Number field must contain only numbers
User Category 3:
• Name Should be Maximum 40 characters
• Password field must be at least 6 character long and it must contain one
Lowercase character
• Validate radio fields which user must check at least one radio button.
• Phone Number field must start with 0 and must be exactly 11 digits
User Category 4:
• Name field should not contain any numbers
• Password field is required and it must contain one of the special
character(@ or # or $ or &)
• Validate a Date type field where must enter a valid date
• Phone Number field must not be longer than 11 digits.