What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.

  • Profile Image

    How to input custom HTML code for a button

    Asked by ickacademy on August 03, 2015 at 12:43 AM

    I have my own gateway/merchant that has given me integration code that can be embedded into a submit or "pay here" button. How can i customize the code for the submit button? Thanks.

  • Profile Image
    JotForm Support

    Answered by Chriistian on August 03, 2015 at 04:58 AM



    You can try to add your HTML code in Text field. You can check the demo below for instructions on how to do this on your form.


    If your integration code contains scripts, it might not work using Text Field. You will need to download the source code of your form and then add your payment integration code. 


    Do get back to us if you encounter any problems.



  • Profile Image

    Answered by ickacademy on August 03, 2015 at 02:17 PM



    I tried that and the button showed up, but it didnt work. When I try the code for the button on lets say an empty webpage, it works just fine. but in this case it just went back to our main website and didnt do anything

  • Profile Image

    Answered by ickacademy on August 03, 2015 at 02:20 PM

    Here is the code: but i am changing some of the values for security reasons


    <form method='post' action='https://swp.paymentsgateway.net/co/default.aspx'>

    <table cellSpacing='0' cellPadding='0' border='0'>



    <td align='right' width='300'></td>

    <td align='left' width='200'>


    <input type='hidden' name='pg_api_login_id' value='API_LOGIN_ID'/>

    <input type='hidden' name='pg_consumerorderid' value='Membership'/>

    <input type='hidden' name='pg_scheduled_transaction' value='0'/>

    <input type='hidden' name='pg_schedule_continuous' value='0'/>

    <input type='hidden' name='pg_schedule_frequency' value='0'/>

    <input type='hidden' name='pg_total_amount' value='50.00'/>

    <input type='hidden' name='pg_save_client' value='2'/>




    <tr><td align='right' width='300'></td><td align='left' width='200'><INPUT TYPE=SUBMIT value='Pay Here'><br></td>






  • Profile Image
    JotForm Support

    Answered by david on August 03, 2015 at 02:49 PM


    You would need to use the full source code of your form and change the submit button code from there:


    Since the submit actions and such are tied to the button itself, adding your own submit button code will not work by itself. 

    It would not be possible to add the button code directly in the form itself.

  • Profile Image

    Answered by ickacademy on August 03, 2015 at 04:57 PM

    ahh fair enough. Thank you!

  • Profile Image
    JotForm Support

    Answered by david on August 03, 2015 at 06:01 PM

    You are very welcome.  If you have any further questions, let us know and we will be happy to help.

  • Profile Image

    Answered by ickacademy on August 10, 2015 at 10:23 AM

    SO a followup. Lets say I got that working (I havent but lets say I have), where I have the code in the source file. How do I now set this form up on Wordpress? I mean where on my server would I put the files? I guess I can go old school and put the form in a directory of my server and point the URL to it. Is that the only way?

  • Profile Image
    JotForm Support

    Answered by david on August 10, 2015 at 11:34 AM

    To embed the full form in your Wordpress page, there is a slightly different method of embedding the form:


    If you are using the Wordpress.com version, the full source code may not embed properly:


    In the case of wordpress.com, you would likely have to put to a link to a source code embedded page.