Skip Navigation

[Resolved] override post edit fonction on form set to 'edit existing contact'

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#1560687

Tell us what you are trying to do?
override post edit function on toolset form set to 'edit existing content'. Either with custom action or custom code.

Is there any documentation that you are following?
no

Is there a similar example that we can see?
no

What is the link to your site?

#1561027

Hello,

I assume you are going to trigger some PHP codes before Toolset form save data into database, if it is, you can try the action hook "cred_before_save_data", see our document:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_before_save_data
Description
This hook allows doing a custom action right before saving or processing any data but after validation.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.