CRED is a WordPress plugin that lets you easily build front-end forms for creating and editing content and users.
CRED User Guides include detailed documentation on creating forms, including related fields that belong to the content or the users, validating the input and displaying the forms with custom HTML styling.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 1,036 through 1,050 (of 1,505 total)
I want to add the terms from project prompt post type to project submission post type on submitting project submission form. I am able to do that with url param as parent post id but I am unable to do that using $_POST("@relationship-field-slug.parent"). What am I missing? Is the slug for getting data from relationship field in a form different?
Solution:
Please try the PHP post variable:
$_POST['@project-prompt-to-project-submission_parent']
See PHP document:
Problem:
The user would like to send the form notification to a parent post instead of the current post of the form.
Solution:
This can be done, either by:
- Adding a generic email field and passing the value from the parent post using the item attribute.
- Adding a generic field and passing the parent post id using the item attribute.
- Using custom code for altering the recipients of the notification.