Why am I getting error 'Incorrect Form URL' when embedding in Composite.net

  • Profile Image
    MelfortRentals
    Asked on July 18, 2012 at 07:08 PM

    Hello,

    Installed package on Composite.net framework, created application form on jotform.com site under 'MelfortRentals' account, inserted jotform function within Composite on this page:

    http://melfortrentals.com/Melfort-Rentals/Rental-Application-Form

    Settings used:

    URL: http://form.jotform.ca/form/21996453357263

    Also tried using custom URL, but got same error.

    Tried various embed types, but got same error.

  • Profile Image
    jeanettebmz
    Answered on July 18, 2012 at 08:03 PM

    Can you please modify form's URL into the embedded code?   from

    http://form.jotform.ca/form/21996453357263  TO   http://www.jotform.ca/form/21996453357263

     

    Thanks!

    Jeanette

  • Profile Image
    MelfortRentals
    Answered on July 18, 2012 at 09:02 PM

    Thanks, but same error with both URL's:

    Page URL:
    http://melfortrentals.com/Melfort-Rentals/Rental-Application-Form 

  • Profile Image
    jeanettebmz
    Answered on July 18, 2012 at 09:25 PM

    I think you are applying the direct URL

    You need to share your form using either Embed or iFrame code

    Here I leave you some guides

    http://www.jotform.com/help/67-Which-Form-Embed-Code-Should-I-Use

    http://www.jotform.com/help/148-How-to-get-your-Form-s-Iframe-Code

    Whatever method you use, make sure you modify the URL within the code from  http://form  to http://www

  • Profile Image
    jeanettebmz
    Answered on July 18, 2012 at 09:29 PM

    Of course , you would need to remove first  the following lines within your HTML page, before pasting the embed or iFrame code:


     

     

    Cheers!

    Jeanette

  • Profile Image
    jeanettebmz
    Answered on July 18, 2012 at 09:36 PM

    For example, if you choose the embed code, make sure you use the correct path of the form (http://www)

    <script type="text/javascript" src="http://www.jotform.com/jsform/21996453357263"></script>

     

    Same thing for the iFrame code

    <iframe allowtransparency="true" src="http://www.jotform.com/form/21996453357263" frameborder="0" style="width:100%; height:3622px; border:none;" scrolling="no">
    </iframe>

     

    You can just copy and paste it from here . but that example can be also applied  for further forms

    =)

  • Profile Image
    MelfortRentals
    Answered on July 18, 2012 at 09:54 PM

    To clarify, I'm using the JotForm Package within Composite.net framework (not simply embedding a form). There are several reasons for doing it this way, one being the ability to specify how the form works withing Composite admin, the other is that runninig Jotform package within Composite offers reporting features.

    http://docs.composite.net/Packages/Forms/JotForm

    Also note that I've included a simple link to the form, along with 2 attempts to use the JotForm / Composite package.

  • Profile Image
    liyam
    Answered on July 18, 2012 at 10:06 PM

    Hello MelfortRentals.  I noticed that based on the document, the URL format that Composite.net requires is different compared to how you placed the URL of your form on to your page.

    Can you try using this URL instead: http://www.jotform.com/?formID=21996453357263

    Thanks.

  • Profile Image
    melfortrentals
    Answered on July 19, 2012 at 01:21 PM

    This code with alternate URL format works:

    http://www.jotform.com/?formID=21996453357263

    <f:function name="Composite.Forms.JotForm" xmlns:f="http://www.composite.net/ns/function/1.0">
    <f:param name="FormURL" value="http://www.jotform.com/?formID=21996453357263" />
    <f:param name="FormTitle" value="My Form" />
    <f:param name="DisplayStyle" value="Embed" />
    </f:function>

  • Profile Image
    liyam
    Answered on July 19, 2012 at 01:40 PM

    It's great to know that the solution works, melfortrentals!

    If you have other questions or concerns, please do not hesitate to let us know.  We'll be more than happy to give you assistance.

    Thanks and warm regards.