• Resolved globalhotshots

    (@globalhotshots)


    Hi Sir,

    Thank you once again for a wonderful plugin and it beats really some other paid ones out there. I’ve got a quick question. I’ve downloaded and activated your micro plugin for the redirect and have went on to change the id.

    Sorry for being a newbie on this. I’m using a single page website, and using CSS ID to identify each section. So for my reservations section, I’ve used /#reservations in my menu bar to link to this id. What would I need to fill up in your script to make this work after the user has submitted the form?

    Is the following correct? Cause I tried a few permutations, but it refused to work. Thank you.

    $id = "/#reservations";

    https://www.ads-software.com/plugins/restaurant-reservations/

Viewing 5 replies - 1 through 5 (of 5 total)
  • NateWr

    (@natewr)

    Hi globalhosthots,

    Can you send a link to the page with the form? /#reservations is actually a URL with an anchor on it, not an element ID. But I may be able to recommend the appropriate ID if I can see it on your site.

    NateWr

    (@natewr)

    On second thought, are you using this Gist?

    https://gist.github.com/NateWr/88fa7686e21397ec4403

    That may not be what you want to use, actually. If I understand you correctly, you have a single-page site and, after submission, you want to scroll to the location of the booking form.

    Is that right?

    Thread Starter globalhotshots

    (@globalhotshots)

    It’s Redpan.sg

    Yes you are right, I want the user to be able to see the response after he/she pressed submit. Also now while trying it out on the iPhone, after submission, I do not see the response that the request was submitted too. It was working fine on the desktop.

    NateWr

    (@natewr)

    Hi globalhotshots,

    If you want to scroll to the form after a booking is made, then you want to try this gist. It should work for your site.

    Not sure what the problem would be for your iPhone, but perhaps it’s related to your theme. There’s nothing special about the response provided by the plugin, so if you have visibility issues on certain devices it’s probably a style thing.

    Thread Starter globalhotshots

    (@globalhotshots)

    Thanks it works! thanks a lot.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Redirect after submission’ is closed to new replies.