For this release we have decided to improve existing functionalities rather than adding new ones. We noticed that the developers were facing lots of problems adding new fields. There has not been much improvement in the AnsPress form and validation since the release of version 2.0.
While improving forms and validations, we were taking care of certain things:
- Adding custom fields to the AnsPress form.
- Adding child fields.
- Validating and sanitation of fields.
- Letting the developers add their own field types.
But we felt that editing existing form class will be confusing as it was not well commented. So, we decided to go with a new class. Old classes files were completely removed from core. Form source and methods can be found here: AnsPress\Form.
Read form and validation API docs here: AnsPress form and validation API.