Title: Include theme&#8217;s elements in form
Last modified: October 8, 2020

---

# Include theme’s elements in form

 *  Resolved [hritso](https://wordpress.org/support/users/hritso/)
 * (@hritso)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/include-themes-elements-in-form/)
 * 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](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Finclude-themes-elements-in-form%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/include-themes-elements-in-form/#post-13514564)
 * Hi [@hritso](https://wordpress.org/support/users/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_document_createelement.asp)
   
   [https://www.w3schools.com/jsref/met_node_appendchild.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](https://wordpress.org/support/users/wpmudevsupport12/)
 * (@wpmudevsupport12)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/include-themes-elements-in-form/#post-13539717)
 * Hi [@hritso](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/forminator/assets/icon-256x256.gif?rev=3443182)
 * [Forminator Forms – Contact Form, Payment Form & Custom Form Builder](https://wordpress.org/plugins/forminator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/forminator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/forminator/)
 * [Active Topics](https://wordpress.org/support/plugin/forminator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/forminator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/forminator/reviews/)

## Tags

 * [element](https://wordpress.org/support/topic-tag/element/)

 * 2 replies
 * 2 participants
 * Last reply from: [Patrick – WPMU DEV Support](https://wordpress.org/support/users/wpmudevsupport12/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/include-themes-elements-in-form/#post-13539717)
 * Status: resolved