PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

HTML Field Trouble

  1. Hello!
    I read an interesting solution for placing a print button on form at http://www.gravityhelp.com/forums/topic/print-button. However, when I go into my form, place a HTML block and copy/paste the code, the button does not show up after saving the form. After refreshing the front end site to see if it worked, when I go back into the Form Editor I notice the code I pasted in is not longer in the HTML block.

    I am sure this issue is simple to fix, but I can't seem to figure it out. I copy/paste the code into the HTML block, I select Content to 'Insert Variable.' I searched for additional information about the 'Variables' from the drop-down box and found http://www.gravityhelp.com/documentation/page/File:Html-properties.png, however this explanation does not include info on the Variables.

    Any help would be appreciated on how to use the HTML block. Thanks!

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  2. David Peralty

    Can you send me a link to your form? You should be able to just add your code to the HTML block, update your form, and see the button on the front end.

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  3. Sure, the form can be seen on my testing site: http://www.gthemes.net/forms. The HTML block is inserted on the bottom of the first page on the back end, but it does not save when I update the form and it does not appear on the front end. Thanks for your help David!

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  4. Can you send me a login to rob@rocketgenius.com so I can take a look at your form?

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  5. Hey Rob, sent creds to your email. Let me know if the site doesn't email you. The form I was testing on was 'Form 3' and the front end display is at: http://www.gthemes.net/forms.

    Feel free to test on whatever forms you want to- I am just playing around with different stuff and this is my sandbox site. Thanks!

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  6. You're good to go, I placed the code in there just fine, saved and previewed. Have a look.

    In doing so, we need to clear the footer buttons, try dropping this CSS into your stylesheet:

    [css]
    .gform_page_footer {
    clear: both;
    }

    Hovering the code snippet above will show an option to view this via plain-text so you can copy and paste just the CSS.

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  7. Thats amazing! Thanks a lot for your help!

    Drop the CSS you supplied above in the theme style.css, correct?

    Posted 12 years ago on Monday April 16, 2012 | Permalink
  8. No problem at all, glad to help out.

    Yes, unless your theme developer has instructions to do otherwise. Sometimes they have a custom.css file, every theme is different, but style.css should work for you.

    Posted 12 years ago on Monday April 16, 2012 | Permalink

This topic has been resolved and has been closed to new replies.