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.

Schedule Form End Date Issue

  1. laudercorea
    Member

    I'm trying to use the form as an RSVP system, and it's working just the way I want it to. But, the issue I'm having comes from scheduling the form to have an cut off date (closing RSVP time). When I go to the page with the form, I fill out all the fields, and instead of giving me the message I typed in about the RSVP time being cut off, a spinning wheel shows up when I try to submit, and it goes nowhere... It just keeps spinning. Any idea why this is happening?

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  2. Please post a link to your form. The end date should prevent the form from loading, not just do a validation check after submission. So there is probably something else going on.

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  3. laudercorea
    Member

    I have a few forms being used on the site. But I set this one with an end date of yesterday, to use as an example.

    http://sk8party.com/cities/los-angeles/

    Posted 12 years ago on Tuesday October 2, 2012 | Permalink
  4. I see what you mean. I was not able to submit for Los Angeles which expired yesterday, but I was able to RSVP for another city. Instead of displaying a form which can no longer be submitted, based on your schedule, it should display an alternate message, "Sorry. This form is no longer available" is the default. That is not happening in your case. Sounds like something is misconfigured. Can you please send me a WordPress administrator log in to chris@rocketgenius.com and I will take a look?

    Other things you could try: turn off AJAX, and remove any conditional logic. I don't think those things will help though, because the form should never be shown in the first place.

    Posted 12 years ago on Wednesday October 3, 2012 | Permalink
  5. laudercorea
    Member

    Hi Chris,

    I sent you an email with credentials for the issue above, let me know if you got it, or if there's anything I can do to try to resolve the issue.

    Thanks!

    Posted 12 years ago on Monday October 8, 2012 | Permalink
  6. I found a couple things. One, since you are loading the forms in your page templates, you will need to include your own scripts by using the gravity_form_enqueue_scripts hook:
    http://www.gravityhelp.com/documentation/page/Gravity_form_enqueue_scripts

    Mentioned here related to embedding via a function call:
    http://www.gravityhelp.com/documentation/page/Embedding_A_Form#Enqueue_Scripts_and_Styles

    Additionally, I noticed you are including an old version of jQuery from Google CDN. I'm not sure which plugins, if any, rely on that old version, but you should update that to the latest, or 1.7.2 which is included with your WordPress version, and which Gravity Forms relies on.

    If you enqueue the scripts properly, I think you will see that the form expired message shows up fine. I did this by embedding via shortcode in the Los Angeles post, and when I added the form in that manner, the form expired message showed up correctly. If that does not do it, I would update your jQuery version if you can.

    Posted 12 years ago on Monday October 8, 2012 | Permalink
  7. laudercorea
    Member

    Thank you Chris!

    Posted 12 years ago on Monday October 8, 2012 | Permalink
  8. Let us know if you get it working properly. I had a nightmare about this so if it does not work, I have some more thoughts :-)

    Posted 12 years ago on Monday October 8, 2012 | Permalink