Skip Navigation

[Resolved] Set post author dynamically as current loggedin user when you submit the toolset form and generate post title

This thread is resolved. Here is a description of the problem and solution.

Problem:
Set post author dynamically as current loggedin user when you submit the toolset form and generate post title

Solution:
You can use the Toolset Form's hook "cred_save_data" to set the post author and generate the post title dynamically after you submit the form.

You can find proposed solution, in this case with the following reply:
https://toolset.com/forums/topic/contractor-custom-type-and-ban-change-of-author/page/2/#post-2228759

Relevant Documentation:
=> https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data

This support ticket is created 3 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.

Our next available supporter will start replying to tickets in about 0.44 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 17 replies, has 2 voices.

Last updated by alexG-11 3 years ago.

Assisted by: Minesh.

Author
Posts
#2228909

EDITED: All ok. Refresh problem

Thanks again

#2228945

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As per our support policy, we entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery for the issue that is originally reported with this ticket.

May I kindly ask you to open a new ticket with every new question you may have and the supporter working in this current timezone will be get in touch with you. You should close this ticket.

#2229615

My issue is resolved now. Thank you!