Problem:
I am having an issue with CRED forms.
I want to perform some checks and changes to the submitted data before saving, as well as retrieve data from external fields not on the form.
Solution:
To perform validation on the form field, use the hook:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate
To retrieve resources before submitting the form, use the hook:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_before_save_data
To retrieve resources on the submit action, use the hook:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
This topic contains 2 replies, has 2 voices.
Last updated by 1 year, 9 months ago.
Assisted by: Christopher Amirian.