CRED plugin allows you to build front-end forms for creating and editing content. These forms can include all the fields that belong to the content and display them with your HTML styling. CRED forms also support input validation and automatic email notifications.
When you ask for help or report issues, make sure to tell us the structure and the settings of your form.
Viewing 15 topics - 256 through 270 (of 721 total)
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.
Problem: I would like to send an automatic email notification to the Customer Email, but the placeholder does not seem to work in the recipient settings of my automatic notification.
Solution: Placeholders like %%CUSTOMER_EMAIL%% cannot be used outside of the subject and message areas of the automatic email notification. To send a notification to a specific email, you can insert an email custom field in the Form and choose that field as the recipient, or use a generic field to hold a User ID, or set up some custom implementation using the Forms API to programmatically select a recipient.