Skip Navigation

[Resolved] set a custom post title for all entries from post form

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

Problem:

I have a post form, and I try to set a custom post title for all entries as default.

Solution:

Please go to the post form edit screen and expand the post title field and there you can add a default value for the post title.

form title option

Then if you do not want the customer to change the title in the post form in the front end, you can use CSS code to hide the post title field from the form in the front end.

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 1 year ago.

Assisted by: Christopher Amirian.

Author
Posts
#2660261
Captura de pantalla 2023-11-03 105043.png

Tell us what you are trying to do?

i have a post form , and i try to set a custom post title for all entries

Is there any documentation that you are following?
https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data
i try with this code, but someting is wrong

What is the link to your site?
hidden link

#2660759

Christopher Amirian
Supporter

Languages: English (English )

Screenshot 2023-11-05 at 18.20.36.png

Hi there,

Please go to the post form edit screen and expand the post title field and there you can add a default value for the post title. (Check the screenshot)

Then if you do not want the customer to change the title int he post form in the front end, you can use CSS code to hide the post title field from the form in the front end.

Thanks.