Skip Navigation

[Resolved] How to add multi buttons on the product form?

This support ticket is created 4 years, 5 months 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Shane 4 years, 5 months ago.

Assisted by: Shane.

Author
Posts
#1684745
button.png

Hello

Please give me good suggestion.
Now I am making new product page on front-end with Toolset.
I want to add 3 buttons to one form.
ie: Preview, Save, Publish..

I read this blog. they said it is impossible.
https://toolset.com/forums/topic/cred-custom-statuses-radio-button-text-pulldown-menu-default-option-etc/

Is that right?

Is there anything good way?

#1685445

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Gina,

Thank you for getting in touch.

Generally our Forms will only submit your posts under 1 status and this is the status that you've set on the form itself.

Given that once you've click the submit button it will only submit the form under the status that you've set in the backend then you won't be able to achieve this.

This is mainly because you won't be able to distinguish with our PHP hook which submit button was clicked, whether it be Save or Publish, the php code will read it as the same exact button.

So in summary it is in fact not possible to achieve what you want through a single form.

Thanks,
Shane