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.

Date picker not working

  1. Hi,
    When I add a date field to my form, it works in the preview but not on my page with my css. Check it out here: http://plasticitydesign.com/rhcds/admissions/inquiry-form/

    Posted 9 years ago on Friday September 4, 2009 | Permalink
  2. We'll take a look, hopefully we can debug it just from looking at your frontend form. It is most likely a javascript conflict of some sort. Are you running any other plugins on this WordPress install? If so what are they?

    Posted 9 years ago on Friday September 4, 2009 | Permalink
  3. I see what the problem is, the HTML for that page isn't calling the javascript files that the datepicker requires in order to work.

    Are you calling the wp_head(); WordPress function in the header file for your theme?

    Posted 9 years ago on Friday September 4, 2009 | Permalink
  4. David Peralty
    Administrator

    Can you please make sure to use wp_footer for JS calls if possible? I hate how most browsers load code based on its position and various plugins JS is clogging up the display of pages. :(

    Dunno if its possible, or even how heavy your JS is...

    Posted 9 years ago on Friday September 4, 2009 | Permalink
  5. They do try to load the JS in the footer, so arhammond should check whether he has a wp_footer call in his theme as well.

    Posted 9 years ago on Friday September 4, 2009 | Permalink
  6. Wow thanks! I added wp_footer and it works now. This is my first theme from scratch so I appreciate all the help. And I love Gravity Forms!

    Posted 9 years ago on Saturday September 5, 2009 | Permalink
  7. No problem, glad that did the trick for you!

    Posted 9 years ago on Saturday September 5, 2009 | Permalink
  8. Heh looks like I said "he" where I should have said "she" :P, my apologies :)

    Posted 9 years ago on Saturday September 5, 2009 | Permalink
  9. hehe that's why I had to update my gravatar! cheers!

    Posted 9 years ago on Tuesday September 15, 2009 | Permalink

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