By default, the Easy Plugin Demo registration form requires that all fields are completed before a demo registration form can be submitted. The default fields are;
- First Name
- Last Name
- Email Address
If you do not wish to display all of these fields, you can hook into filters to remove them and make them not required fields so that form validation does not fail during submission.
Note: Do not remove the email address field as this is always required
The first function in the following code snippet can be used to first make a field not required. The filters after the function can be used to remove specified fields from being displayed on the registration form.