• Resolved hritso

    (@hritso)


    Hi,
    I’m building a form for my site and I want to include in it two buttons that will trigger some actions. Currently, these buttons exist on this https://drasigiatokatiallo.gr/en/tropoi-stirixis page. The buttons that I want to add are the two in the middle of the screen “PAYPAL” and “Bank Transfer” but I searched and tried everything and still cannot add this modal popup that is triggering the Bank Transfer button in my form. (PS. the PayPal button, I managed to build it with the HTML field and the appropriate CSS.)

    Any suggestion on how I can incorporate actions, elements, and style from my theme to the form?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @hritso

    I hope you are doing well.

    Using the HTML field would be the best option for this, adding the custom code on the HTML and the CSS on appearance > Additional CSS.

    But Forminator has a payment module, you could use it + HTML field to create the pay with PayPal and Bank transfer.

    Create a dropdown or radio field using two options, Bank transfer or PayPal, set one HTML to show Bank account details and one Forminator Payment module, once done configure the visibility to show the payment based on the what the user select.

    Another option is to insert the button on the form using JS and the Create element:

    https://www.w3schools.com/jsref/met_document_createelement.asp
    https://www.w3schools.com/jsref/met_node_appendchild.asp

    Let us know if you need any further help on this.
    Best Regards
    Patrick Freitas

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @hritso

    I hope you are doing well.

    We haven’t heard from you in a while, I’ll go and mark this thread as resolved.

    However, feel free to let us know if you have any additional question or problem.

    Best Regards
    Patrick Freitas

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Include theme’s elements in form’ is closed to new replies.