Free Text (HTML) - Doesn't save certain html code

  • Profile Image
    SoyHound
    Asked on August 13, 2012 at 01:06 PM

    Hi,

    I've been trying to implement the transparent overlay suggested in the following link:

    http://www.jotform.com/answers/109760-The-total-amount-on-payment-form-not-carried-to-PayPal

    The problem I'm facing is the Free Text (HTML) isn't saving:

     

     

    I'll test the HTML code and add some text to it.  After clicking Update and then Complete, and going back to the HTML editor, the

    stuff will be gone while some random text I add will be there.

     

    I've tried this all latest versions of Chrome, Firefox, and IE.  Restarted and cleared the cache as wel. Nothing seems to work.  Is there something I'm not doing right?

    Thanks!

     

  • Profile Image
    Deygus
    Answered on August 13, 2012 at 01:14 PM

    Hello,

    Have you tried placing it between <html> .... </html> and under <body>? Alot of the time, it may not show or be recognized until after doing so. There's alot of software that has that part disabled so it is unnecessary but usually it is better to add those in anyway because 9 times out of 10 it solves the issue in the first place. Also if the field is set to large or too small it will offset it to appear out of the place you are wanting to put it. Hope this helps.

     

    Sincerely,

    Kade M.

  • Profile Image
    SoyHound
    Answered on August 13, 2012 at 01:35 PM

    Hi Thanks for answering!

    I've tried this:

    <html>
    <body>
    <div style="top: -120px; width: 400px; height: 70px; filter: alpha(opacity=0); position: relative; opacity: 0; background-color: red;"></div>
    </html>

    After clicking Update and then Complete and then going back to Edit HTML - the code will no longer be there.

    I'm testing this by using a cloned copy of:

    http://www.jotform.me/form/21786251936461?pleaseIndicate[][id]=1007

    The cloned version will have the <div> html code in the Free Text, but if you edit it, save, and go back to it - the code will no longer be there.

    Any help will be much appreciated!

     

     

     

  • Profile Image
    NeilVicente
    Answered on August 13, 2012 at 06:55 PM

    @SoyHound

    You must always edit the codes by clicking the black HTML button found at the top of the toolbar while the Free Text is selected:

    Additionally, I have injected this code to the cloned version in your account:

    #text_10 {
    height: 0 !important
    }

  • Profile Image
    SoyHound
    Answered on August 14, 2012 at 04:26 PM

    @NeilVicente 

    Great! I think this is working.  I was using the HTML button at the bottom right corner of the box. Many thanks!