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 - 301 through 315 (of 720 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.
Problem:
Post expiration date in form doesn't work anymore -set post expiration time using generic custom date field
Solution:
Toolset forms saves the post expiration time to postmeta table with the key "_cred_post_expiration_time". To override the value of post expiration time based on the custom date field value, you will require to use the Toolset form's hook "cred_submit_complete".
Problem:
How to restrict date picker field on CRED form with year range
Solution:
To restrict the Toolset form date picker field with year range, you will have to add the custom javascript code to your form's javascrip editor.