Forms are used to interact with the user, it is a mode of communication for the users to the website. The following things should work properly for the form to get correct input from the user:-
- The input data validity
- Allowed values for the data field
- Invalid input values for the data field
- Options for forms in which deletion or any other modification of data is possible.