What does the CURL statement in the IFRAME do?

  • bobbyrenaud
    Asked on February 17, 2017 at 11:02 AM

    I can only use the pop up to publish but I need the Iframe Method.

     

    Your iframe paste contains words beginning with a colon (:).

     

    My compiler errors on these words.

     

    I have temporarily Changed The Colons in the iframe PASTE To another character to allow me a clean compile,

    and the iframe seems to work fine but I don't know what I have broken By screwing up the CURL Statement

     

    Is there any way you can make this CURL work without the colons?

     

    This is a deal-breaker.

    Because I need it to work with the iframe, not the popup.

     

    What is the CURL doing for us? Do I need it?

     

    Thank you...   bob

  • Nik_C
    Replied on February 17, 2017 at 12:55 PM

    Hello Bob,

    I'm not sure I'm following you completely. For example, this is the standard iFrame code, without the script code:

    <iframe id="JotFormIFrame-12345678901234" onDISABLEDload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotform.com/70433936180960" frameborder="0" style="width:100%; height:1105px; border:none;" scrolling="no"> </iframe>

    What exactly is breaking your compiler? Since that is standard syntax and I'm not sure why it is breaking your compiler?

    If you could shed some light on it, it would be great?

    I'm sorry if I misunderstood you.

    We'll wait for your response.

    Thank you!

  • bobbyrenaud
    Replied on February 17, 2017 at 2:46 PM

    Hello Nik_C
    Thank you for quick response.
    This is my copy/paste from my... https://form.jotform.com/70405634890154
    ________________________________________________________________________________________________


    ________________________________________________
    so... :encodeURIComponent and :encodeURIComponent    Colons are the problem
    as well as the period in (document.URL)
    (names between parens are numeric only indexes in cobol)
     
    Note: We use Micro-Focus Cobol compilers for our Amazon ec2 based software.
     
    renaud55@aol.com
    ...
  • Nik_C
    Replied on February 17, 2017 at 3:21 PM

    Hello Bob,

    Thank you for additional information provided.

    I'm still confused about the response you are getting. I understand that you are using Cobol for writing your software but I don't get where the iFrame code fits?

    What exactly are you building and where your form needs to integrate there, please?

    We'll wait for your response so we can assist you further.

    Thank you!

  • bobbyrenaud
    Replied on February 20, 2017 at 3:49 PM

    We have a large (15millionLine) software running on the Amazon EC2 cloud.

     

    The SALES and MKTG depts want to make our `SelfSetUpWizard` much scaled down 

      to make it UserFriendly their way.

     

    so

     I

    We thought Jotform would be a good  quick way because

      all we(IT) have to do is learn the Jotform options for interfacing

       Hidden fields inputs, and Webhook out to feed us the responses  

       (we embed  the the Jotform iframe in our welcome page.)

     

    but 

     

    The SCRIPT in your iframe paste contains words beginning with a colon (:).

       and the cobol compiler errors on these words.

     

    I have temporarily Changed The Colons to another character to allow me a clean compile,

    and the iframe seems to work fine but I don't know what I have broken By screwing up the CURL Statement

     

    Is there any way you can make this CURL work without the colons?

    or give us an other `no ColonWord`  cut/paste  option,

    or what happens if i remove the CURL statement?

     

    This is a deal-breaker.

    Because we need it to work with the iframe option. 

     

    What is the CURL doing for us?

  • David JotForm Support Manager
    Replied on February 20, 2017 at 5:12 PM

    If you want to, you can simply embed the Iframe part, so get your Iframe code https://www.jotform.com/help/148-Getting-the-form-iFrame-code 

    Before you embed the code, paste it in a text editor like WordPad, you will notice two part of codes, only copy and embed the Iframe part in your webpage, example:

    What does the CURL statement in the IFRAME do?  Image 1 Screenshot 30

    Make sure to set the scrolling property to "yes", example:

    What does the CURL statement in the IFRAME do?  Image 2 Screenshot 41

    Or you can embed your form using the full source code:  https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form 

    Let us know if you need more help.

     

  • bobbyrenaud
    Replied on February 21, 2017 at 3:22 PM

    That is what I've done

    But

       My question is...

     What  functionality will I loose by...

       not having the CURL function, as we proceed with this Jotform project

       we already have 50+ hours on this project and it would kill us

          if we discover after many more hours, that Jotform will not work for us.

     Is it use by Webhooks?,,,  which we will need to get responses back to our software.

     

       help! ...... What happens when no CURL.

     

  • Elton Support Team Lead
    Replied on February 21, 2017 at 4:52 PM

    Basically, you will lose the following 2 functionalities but this is intended for the iframe element only which I guess not that important. The form itself will work using the iframe code only.

    1. Auto-resize function - The script part automatically resize the iframe height whenever the length of the form changes .e.g showing/hiding fields through conditions.

    2. Prepopulate function - Even if the form is iframe embedded, the script reads the URL query string and pass it to the iframe URL for prepopulation.

    FYI, the script does not have to do with webhook. Webhook is triggered when the form is submitted. Here's how to setup webhook with your form http://www.jotform.com/help/245-Creating-your-first-Webhook-with-JotForm.

    Hope this helps!

  • bobbyrenaud
    Replied on February 22, 2017 at 10:19 AM

    EXCELENTLY ANSWERD by EltonCris 

      thanks a lot Cris. I hope you can help more

     Now for the next step...

     

    Method:  The URL option in the THANK YOU screen.

       I would like a recommend on

                          what to `Jotform Learn` next

     I just need a RESPONSES `CSV` 

    I'd like to do it WITHOUT `SQL` and WITHOUT `PHP` if possible

           unless there is a widget

       1.  FTP... would this be the easyest?

        2. Webhooks?

       3. API?

    Any examles can save my life... thanks........Bob

  • David JotForm Support Manager
    Replied on February 22, 2017 at 11:31 AM

    @bobbyrenaud, your new question will be addressed on the following thread: https://www.jotform.com/answers/1073094