I've added a date picker to my multi-page form, but what shows on the generated form is a date field.
Any ideas?
I've added a date picker to my multi-page form, but what shows on the generated form is a date field.
Any ideas?
The datepicker.js script isn't being loaded. Check to make sure your theme has the wp_footer() function in your footer. php file. That's required to load the necessary scripts.
Of course. Thanks!
Hi Kevin,
I am having the same problem but I dont know much about messing with the code. Would you be able to explain how to do this for the technically chalenged?
Thank you,
Ron
@rengelman This WordPress documentation page has details on where the wp_footer() and wp_head() function calls go in your theme:
http://codex.wordpress.org/Theme_Development
The wp_footer() function call goes in your themes footer.php file and the wp_head() function call goes in your themes header.php file.
I'm having the same issue but I'm using 1.5.rc2.5.
I made sure wp_footer() function call was in footer.php and when I view source on the page I see that datepicker.js seems to be loading.
Am I doing anything wrong?
Here's the page where the form is at http://www.koshgarianrugcleaners.com/schedule-online/
@latinguy2004 The issue is you have a Javascript error because your theme is loading jQuery twice. jQuery is loaded once by your theme, as is standard for WordPress themes, and then something else on your site is loading jQuery again from a 3rd party.
This is the line of code in your theme causing the issue:
<script type="text/javascript" src="http://www.instantslideup.com/2.0/isu/resource/jquery.js"></script>
So it's related to the instantslideup code you have on your site. Anytime you include jQuery twice on a page it can cause issues and errors, as is the case here.
Awesome thanks for the fast response. I removed that line from the code and it worked fine.
First of all, Gravity Forms rocks! One of the best investments I've made in the last couple years.
Secondly, on my date picker problems: I have the same problem - date picker not loading. I checked the footer and identified that the code indicated is there: <?php woo_footer(); ?>
However, there was another line after it: <?php woo_foot(); ?>, which I removed. Still no date picker. What am I missing?
Sorry, the date picker should be seen on the form on this page: http://keithcoury.com/schedule/.
I also have heard back that the form displays differently/incorrectly in Safari - post this topic separately?
I'm not sure what functions you are referring to as far as woo_footer(), the function we referenced above is wp_footer() which is not the same as woo_footer(). I'm assuming this is a WooTheme you are using, which WooTheme is it?
This is actually what is there now:
</div><!-- /#wrapper -->
<?php wp_footer(); ?>
<?php wp_foot(); ?>
</body>
</html>
I don't see the code I pasted earlier with woo in it.
Are you displaying this form using a Widget in a Sidebar on your form? If so, make sure that that widget is set to output scripts, you may have that option turned off in the widget which is why the scripts are being output. If you aren't using the Widget, how are you displaying the form? Shortcode or function call?
Hi Carl -
I've been reading the other posts and realized the issue is with the scripts. I am using the Gravity Forms Widget. So, how do I set the scripts in the widget properly? I've read the documentation but just don't know where to add this (with the right form id, etc:
<?php
2 gravity_form_enqueue_scripts($form_id, $is_ajax);
3 ?>
The Wootheme is Kaboodle, by the way.
If the Widget has the option turned on (which it is by default) it should output the necessary scripts automatically. Did you check in your Widget settings to make sure the output scripts option is NOT checked? If it's checked then that is probably the problem. See this screenshot: http://grab.by/abeq
Here's what I see on my widget settings:
http://keithcoury.com/widget-screenshot/
No advanced settings area?
That isn't the Gravity Forms widget, it appears you are using a 3rd party Widget, possibly Joost de Valk's (Yoast.com) widget. You need to use the Gravity Forms official widget, it will appear as just "Form" in your list of Widgets and will have the options that appear in my screenshot.
Yes, I did use Joost de Valk's (Yoast.com) widget. I didn't know there was an official widget.
Thank you!!!! Thank you!!! Works perfectly with the official widget.
And the official widget appears to have fixed the Safari formatting issue!
Good to hear! Glad that resolved the issue for you.