Can I call a form from two different places?

  • Profile Image
    mannagod
    Asked on May 14, 2011 at 12:49 AM
  • Profile Image
    abajan
    Answered on May 14, 2011 at 12:57 AM

    Hi mannagod

    You can embed your form in as many web pages as desired. You can also put links to your form wherever you wish: both on web pages and in emails. Is this what you were referring to?

     

    ~ Wayne

  • Profile Image
    NeilVicente
    Answered on May 14, 2011 at 01:03 AM

    Hello,

    In addition to what Wayne has said, it is also possible to identify which place (or website) a submission came from.

    Refer to this forum post to learn more about that. Let me know if you need clarifications regarding the steps outlined in that forum post.


    Neil

  • Profile Image
    mannagod
    Answered on May 14, 2011 at 03:22 PM

    I need to reference the form from multiple places on the same page.  Is there a way to do this?

     

  • Profile Image
    abajan
    Answered on May 14, 2011 at 04:58 PM

    Yes, you can either embed a single form on several parts of the same page via an iFrame or simple link. However, after just testing this scenario, I discovered that if a submission is made via one of the iFrames and another submission is made via one of the other iFrames linking to that form, both submissions will have the same "unique" ID! (I don't know yet if customized unique ID's would be affected in the same way but I suppose the logical assumption is that they would.)

    Would you mind sharing the reason for wanting to have multiple instances of a form on a single page?

  • Profile Image
    mannagod
    Answered on May 14, 2011 at 05:06 PM

    I want to give visitors the ability to register with us from multiple areas on the page.  If they miss the link in one area, they will see it in another.  Many companies have mutliple links from one page to the same destination.  It is a marketing strategy.

    Any way we could communicate via Skype?

  • Profile Image
    abajan
    Answered on May 14, 2011 at 05:37 PM

    Yes, you're right about many companies having links to the same destination on a single page. However, since using multiple iFrames to link to the same form causes different submissions to have the same ID, I would suggest using either text or image links. For instance, you could have multiple instances of the same screenshot of the form linking to the actual form:

    Just my suggestion but you might come up with other creative ways to link to the form.

     

    As far as communicating via Skype, presently we don't normally provide support over the phone.

    Hopefully you've found our replies to be useful. Please feel free to request further clarifications if necessary.

    Thanks.

    ~ Wayne

  • Profile Image
    mannagod
    Answered on May 14, 2011 at 05:58 PM

    I was referring to Skype chat, not phone.

    I have no idea what you mean about images.  I am using your jotform lightbox, not iframes.  I have text links that your wizard created for me to use.  I insert those links in multiple areas but only one will work.  It is because of the 'id' number being the same for each link.  How can this be fixed?

  • Profile Image
    abajan
    Answered on May 14, 2011 at 06:04 PM

    Could you post the URL of the page in which the lightbox etc. is embedded so that we can observe what is happening for ourselves? (And sorry, we don't presently provide support via chat either but we may at some point in the future.)

    ~ Wayne

  • Profile Image
    mannagod
    Answered on May 14, 2011 at 06:12 PM

    http://www.froupon.me/froupon/causes/

    I have 3 links to lightboxes, 2 to the same form and 1 to another form.  Only one link works.

  • Profile Image
    NeilVicente
    Answered on May 15, 2011 at 05:15 AM

    Hi,

    After an extensive testing, I found out that it is not possible to use two links to call the same lightbox form. However, I was able to make two different lightbox forms work in the same page by following instructions from a fellow support member's post

    What his solution states is that you should remove this line - src="https://www.jotform.com/min/g=feedback" -  from the other lightbox embed codes, meaning only one lightbox embed code should call that javascript source.

    In your site, for example, you have two script embed codes, so if you remove the javscript src in the second one, it becomes:

    <script src="https://www.jotform.com/min/g=feedback" type="text/javascript">
           new JotformFeedback({
               formId: '11285231494',
               base: 'https://www.jotform.com/',
               windowTitle: 'Cause Enrolment',
               background: '#C00000',
               fontColor: '#ffffff',
               type: false,
               height: 600,
               width: 600
           });
    </script>

    <script type="text/javascript">
        new JotformFeedback({
            formId: '11331246569',
            base: 'https://www.jotform.com/',
            windowTitle: 'Share Each Deal & Raise More!',
            background: '#527699',
            fontColor: '#FFFFFF',
            type: false,
            height: 400,
            width: 400
        });

    </script>

     

    By the way I also noticed errors in two of your links

     

    The link ID's should be something like "lightbox-11331246569", just like what is in the codes provided by the Embed Form Wizard.

    Get the codes again using the Embed Form Wizard and re-embed them to your page.

    Let me know if this works or not. Feel free to contact us again if you have other queries.


    Neil

  • Profile Image
    mannagod
    Answered on May 15, 2011 at 10:52 PM

    Thanks Neil.

    My page has 3 links.  2 links open 1 form and the 3rd link opens another.  So I did what you said and included the 2 lightbox scripts with one having the 'href' reference removed.  2 links refer to the 1 script and 1 link refers to the other script.  The first link of 2 opens the form but the second one doesn't.  The other link opens its form fine.  So I still have the problem of one link not opening its form.

    See the test form I made at http://www.froupon.me/froupon/causes/test.htm.

    Thanks!

  • Profile Image
    mannagod
    Answered on May 15, 2011 at 11:30 PM

    The example you provided works for possibly 2 reasons:

    They are using buttonText: for the duplicate links and I am using windowTitle: (I tried duplicating their success with my scripts by changing windowTitle: to buttonText: and was successful)

    They have double-quotes around some of the parameters for the buttonText: scripts, where there are only single-quotes for the windowTitle: scripts (not sure if this even makes a difference).

    Regardless, to use just links and no buttons, it doesn't seem to work.  Any ideas?

  • Profile Image
    mannagod
    Answered on May 16, 2011 at 12:13 AM

    Can I place the scripts in an external file for both forms and then call them as many times as I like on a page?  If so, can you show me the best way to do this?  Thanks.

  • Profile Image
    mannagod
    Answered on May 16, 2011 at 01:08 AM

    I just realized:

    The call for the form when using buttonText: is coming from your javascript.

    The call for the form when using windowTitle: is coming from my page.

    It would apear that is why one works and the other doesn't.  The 'buttons' don't live on our page but rather within your script while the text links are being called from our local page.

    Is there a way to make the links work in a similar fashion as the 'buttons' so the code runs from your javascript versus our local page?

  • Profile Image
    NeilVicente
    Answered on May 17, 2011 at 05:21 AM

    Hi,

    Like I said in my previous post, calling the same form using two different links will not work. Only one of those links will work. It is hardcoded in the g=feedback script so it will take some scripting skills to enable it.

    Anyway, buttonText is for feedback forms such as this:

    windowTitle is for the popup form's window title.

    Hope this post clears everything. Let us know if you need more information. Thank you.


    Neil