CRED plugin provides an API, making it easy to customize your post or user forms. The API includes hooks (actions and filters) to accomplish specific tasks using PHP code.
When you ask for help or report issues, make sure to tell us all related information about your form and what you want to achieve.
Viewing 15 topics - 466 through 480 (of 487 total)
Problem:
The user would like to implement a duplicate form where he can customize some fields.
Solution:
This is possible with custom code. The idea is to create a new create event form, that will include "startdate", "enddate", and "submit" form fields, then hook into the submission and copy all other fields from the original event. You can check a similar case, that copies all fields, here https://toolset.com/forums/topic/front-end-user-duplicate-post-function/#post-281290
You can either hook into "cred_before_save_data" which happens before saving the new post or into "cred_save_data" which happens after saving the new post.