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 436 total)
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.