Html textbox changes the code I entered

  • Profile Image
    Asked on August 19, 2014 at 09:24 PM

    I am attempting to a add a paypal button to my jot form ( 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="" 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="" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="" width="1" height="1">

    This is the code that the html box saves:

    <form action="" 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="" type="image" /><img src="" border="0" alt="" width="1" height="1" /></form>


  • Profile Image
    Answered 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.

    Hope this information helps!