Mautic Community Forums

How to create form with two buttons!

Your software
My Mautic version is: v2.15.0
My PHP version is: 7.1.24

Your problem
I want to create a form with two buttons. One with MORE INFO. If the customers wants more information, when he clicks on this it will take him to more information or else he can click on BUY NOW button given below the same page.

Can you guys let me know how to create this type form.

Thanks in Advance.


These errors are showing in the log:

Steps I have tried to fix the problem:

Hi there, and welcome back to the forums!

Firstly, I’d recommend updating your Mautic instance as you’re 3 versions out of date.

I’m not sure I am clear on your use case, as forms are generally used to submit information, but you seem to be suggesting that the buttons would take the user to another page?

That sounds more like a landing page rather than a form?

1 Like

Is the MORE INFO button doing anything else other than being visible and opening a new window?

I mean are you trying to pass through any information from the form when clicking MORE INFO?

If not, just create a normal form to handle the BUY NOW process and a Landing Page with the MORE INFO button as part of it somewhere and then embed your form.

If you only want a form because you are including it in another system (eg WordPress) then put the MORE INFO information in as an extra TEXTAREA field or similar.

But best to make MORE INFO a link on the page that is hosting the form.


1 Like