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 - 466 through 480 (of 1,529 total)
Problem: I have an automatic email notification set up in a post Form. I would like to send an email to the author of the post where the Form is being displayed.
Solution: Use a generic field in the Form to store the ID of the author of the current post, then you can select that generic field in the notification recipients details.
Problem: I would like to create a contact form for my site, but I do not necessarily want to create posts with this Form. I would prefer to use it strictly for sending email notifications.
Solution: Toolset Forms can send email notifications, but those forms will always create or edit some post. There is no easy workaround to prevent the creation of posts, but you could create a custom cron script that automatically deletes those posts at regular intervals if you do not want to keep them stored in your database.
Problem: I have a Form that creates new posts in a custom post type. One of the custom fields holds a telephone number. I would like to prevent the Use from creating a post if the telephone number they submit already exists in the database as a telephone number for another post.
Solution: Use the Forms API hook cred_form_validate to inspect the submitted custom field value. Create a custom post query that also queries posts by that custom field value. If any posts are found in that query, display an error message on the telephone field.