Can the lightbox be closed and returned to previous page if not submitted

  • Profile Image
    mrsjmdrn
    Asked on March 03, 2013 at 12:57 AM

    I have a lightbox form that may or may not always be completed, and that is fine, i dont need it to be completed.  If a person chooses to close the lightbox, rather than submit it, is there a way to be returned to the previous page?  I am using sandvox, and i didn't have any luck embedding the form into the website so went with the lightbox and i like it.  I don't know if i did it right, but it works for now....The adoption page has a link to the adoption form (which is the lightbox) which is set up as another page on my website (hidden obviously) that just contains the code that i copied and pasted.  Maybe you know a better way to do it...if you look at the lightbox, the background shows the form titie in the top left corner - is there a way to not see that?  not as important as redirecting to a page when closing as opposed to submitting the form.  thx in advance.  BTW, where do i send a testimonial?  If you open the page below, the link is within the text - it is "adoption form".  Sorry for the long post....

  • Profile Image
    sidharth_kch
    Answered on March 03, 2013 at 08:05 AM

    @ mrsjmdrn

    I checked your form. It looks like you have implemented the lightbox embed code correctly except the code is embedded to in a seperate new page. I know you had issue embedding the code to your existing page.

    Your approach should be something like this.

    1. Copy the lightbox embed script.

    2. Paste this script in your home page. Refer this guide on how to inject code in sandvox 

    3. Edit the script copied, between your <a...> </a>  to change your link text to "adoption form"

     

    Hope the guide on how to inject code in sandvox will help you.

     

    Thanks,

    Sidharth

  • Profile Image
    joey
    Answered on March 13, 2013 at 10:15 AM

    Hi,

    FYI, we've released a sandvox tutorial in our user guide to

    maybe give you additional info. We've tried the easiest way

    so don't expect too much from the article.

    Here's the Sandvox article.

    Thanks.