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

    Html textbox changes the code I entered

    Asked by jlabonte76 on August 19, 2014 at 09:24 PM

    I am attempting to a add a paypal button to my jot form (http://form.jotformpro.com/form/42254955015958) because I don't like how the widget works. The code I past comes directly from the paypal website after creating the button. When I click on the paypal button in the Jot form editor, it takes me to the correct url. But when I pull up the actual form and click on the paypal button, it submits the jot form instead. I have found that the editor is changing my html code after I click "complete." This is extremely frustrating. Please help.

    This is the original code:

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="RMX7N76KHE2WE">
    <tr><td><input type="hidden" name="on0" value="Lab Location/Date">Lab Location/Date</td></tr><tr><td><select name="os0">
     <option value="Springfield, IL - 01/25/15">Springfield, IL - 01/25/15 $550.00 USD</option>
    </select> </td></tr>
    <input type="hidden" name="currency_code" value="USD">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

    This is the code that the html box saves:

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input name="cmd" type="hidden" value="_s-xclick" /><input name="hosted_button_id" type="hidden" value="RMX7N76KHE2WE" />
    <td><input name="on0" type="hidden" value="Lab Location/Date" />Lab Location/Date</td>
    <td><select name="os0"><option selected="selected" value="Springfield, IL - 01/25/15">Springfield, IL - 01/25/15 $550.00 USD</option></select></td>
    <input name="currency_code" type="hidden" value="USD" /><input alt="PayPal - The safer, easier way to pay online!" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" type="image" /><img src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" border="0" alt="" width="1" height="1" /></form>


  • Profile Image
    JotForm Support

    Answered by EltonCris on August 20, 2014 at 02:00 AM


    Sorry but you can't inject form source code within form. It would obviously cause conflict since a form can't be embedded within form. It will probably be stripped off. A possible workaround is to embed your Paypal code into a plain html file and embed it as iframe within your form or use this Iframe Embed Widget. http://widgets.jotform.com/widget/iframe_embed

    Hope this information helps!