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.

form doesn't work on premise plugin landing page

  1. pauldewouters
    Member

    Hi,

    I added a form with a product field and a total field on landing page built with the premise plugin from copyblogger http://getpremise.com/
    http://wpconsult.net/wordpress-maintenance/

    but the total field isn't working. I added the gravity forms stylesheet manually as it wasn't getting loaded

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  2. Can you post a URL to your form page. It's easier to debug if we can see the actual form and all of the scripts and other elements that are loaded on the page with it.

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  3. pauldewouters
    Member

    Kevin, it's above, but I'll post again :)
    http://wpconsult.net/wordpress-maintenance/
    toward the bottom after the pricing

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  4. Sorry, totally must have gone blind.. saw the premise link but just missed it. I'll check it out.

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  5. Can you provide us with details on what Premise settings you are using as far as what type of Premise landing page, where the form shortcode was inserted, etc.? Then I can recreate the issue locally on our test Premise install.

    The problem is most likely how Premise works, the Gravity Forms scripts and CSS are probably unable to be automatically enqueued. It will probably have to be something we need to get with the Premise developers on.

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  6. pauldewouters
    Member

    Carl, thanks

    it's a pricing landing page, and I've done nothing special except add the CSS for gravity forms in the header scripts text area

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  7. I'll go ahead and try and recreate this issue locally so we can see what is going on. It's getting late and with a holiday weekend I can't guarantee I will have resolution on this until Tuesday due to the debugging involved.

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  8. pauldewouters
    Member

    ok, keep me posted
    enjoy the weekend :)

    Posted 13 years ago on Friday July 1, 2011 | Permalink
  9. It doesn't appear that the GravityForms JavaScript is being loaded. You need to add the JavaScript to the header scripts area in the same way you added the CSS. I'm not sure why you have to do that for this theme, but enqueuing the scripts allows the total field to work. I added the scripts to a local copy of your page and the total field worked fine.

    Screenshots showing the total field being calculated:
    Basic http://min.us/lbB9VW

    Premium http://min.us/lbF9iU

    Posted 13 years ago on Saturday July 2, 2011 | Permalink
  10. pauldewouters
    Member

    man, that's weird - I swear I had tested that before but thanks - it works now!

    Posted 13 years ago on Saturday July 2, 2011 | Permalink