CRED plugin provides an API, making it easy to customize your post or user forms. The API includes hooks (actions and filters) to accomplish specific tasks using PHP code.
When you ask for help or report issues, make sure to tell us all related information about your form and what you want to achieve.
Viewing 15 topics - 301 through 315 (of 361 total)
Problem: I have a Form that creates child posts. When the child post is published, I would like to send an automatic email notification to an email address specified in the parent post's custom fields, but I cannot specify that field in the notification settings.
Solution: You can use some custom PHP code with the cred_notification_recipients API and the toolset_get_related_post API to query the parent post, get the custom field value, and add that email address to the recipients list programmatically:
Problem: I have two required generic checkbox fields in a Form. When I submit the Form with the checkboxes checked, I receive an error saying that required checkboxes fields are not checked.
Solution: Ensure a default value of 1 is applied to required checkbox fields. Otherwise the validation script will fail to validate checked checkboxes.