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 - 556 through 570 (of 1,524 total)
Problem: When I disable AJAX for Form submissions, one of my site's Forms will submit, but no post is created. The User is redirected to the same page URL, but a URL parameter tt is added and a generic 404 error is displayed. No JavaScript or PHP errors are logged in this scenario. With AJAX active for this Form submission, the Form submits successfully without any errors and the post is created as expected.
Solution: In this case, the problem seems to be related to a generic field with the slug name. Forms that include a generic field with the slug name will not create or edit posts successfully and will redirect to a 404 error page. Our developers are aware of this problem and will resolve the issue in the upcoming Forms 2.6.10 release. Until that time, a workaround is required. You can either rename the field slug to something other than "name", or you can enable AJAX submissions for this Form.
Problem: I have two address fields, one in a parent post type and one in a child post type. When a new child post is created, I would like to calculate the distance between the two addresses and save that distance in another custom field in the child post type.
Solution: You can use the cred_submit_complete hook to trigger custom code with the shortcode toolset-maps-distance-value to calculate the distance between two addresses. Use the update_post_meta function to store that distance in another custom field.