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.

Forms only appear when logged in

  1. astroboysoup
    Member

    This one has got me stumped.

    We've been working on a site for a few weeks now and noticed that the forms only load when a user is logged in.

    We have the forms embedded on a page.

    Here is a dev url:
    http://starsfinal.pbwebdev.com/luxury-hardcover-report/babystars-luxury-hardcover-report/order-babystars-luxury-hardcover-report-birth-time/

    Can anyone shed some light please?

    Peter

    Posted 14 years ago on Monday March 14, 2011 | Permalink
  2. astroboysoup
    Member

    ok I figured it out.

    Its the Javascript for the forms.

    Date picker and conditional fields don't work correctly.

    There must be something missing with either the template I'm using or Gravity Forms is not embedding the required JS into the site properly.

    Posted 14 years ago on Tuesday March 15, 2011 | Permalink
  3. Gravity Forms embeds the required JS properly using WordPress enqueue functionality and best practices.

    The date picker and conditional logic fields do work correctly. So whatever is going on is going to be something specific to your site, possibly a theme or plugin conflict but difficult to tell without looking at it.

    I'm unable to access the form via the URL you provided above.

    Posted 14 years ago on Tuesday March 15, 2011 | Permalink
  4. astroboysoup
    Member

    We moved the site for launch but have removed the conditional form fields and data picker icons for launch.

    It's strange that it would work if you're logged in as an admin but not when you're a public user.

    I did a code comparison between the logged in and logged out output and it appears that the required JS is being called and is accessible.

    Website in question is http://www.itsinthestarsonline.com
    but conditionals and date picker have been remove.

    I might go over the code of the custom template to check if anything is a miss.

    Posted 14 years ago on Wednesday March 16, 2011 | Permalink
  5. Let me know if you find anything. It's possible it's a theme or plugin conflict that is causing this very strange behavior.

    Posted 14 years ago on Wednesday March 16, 2011 | Permalink