What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    getting the last_form cookie value and inject jquery function to submit button

    Asked by mmora_dxt on December 01, 2015 at 08:31 PM

    Hi, we have acquired JotForm engine and we know that it doesn't have the API to work with it neither the JotForm Anywhere library and we are embeding the Builder wthin an iframe over our .NET Application we have achieved to embed the builder as it doesn't have any complications with this. 

    What we face now is, when we try to get the value of the cookie named "last_form" which is generated by JotForm we are getting undefined value instead of getting the id of the generated form.

    We have researched and we find out that we need to use CORS but we don't know where exactly to add the correspondent headers. So far we tried to add that policy into the apache server which is hosting the jotform engine but we are still getting indefined value.

     

    This are our references:

    http://hayageek.com/cross-domain-ajax-request-jquery/

    https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS

    https://en.wikipedia.org/wiki/Same-origin_policy

     

    Regards!

     

    and Getting JotForm domain jotform engine engine
  • Profile Image
    JotForm Support

    Answered by Charlie on December 02, 2015 at 03:17 AM

    I'm not sure if I understand your setup.

    We have the online form builder www.jotform.com, we also have a licensed product JotForm Engine which can be found here: http://www.interlogy.com/products/jotform/ 

    Please note that both products are different and we can only provide support here for our form builder. For the JotForm Engine, you might need to contact Interlogy here: http://www.interlogy.com/contact.html 

     

    Regarding your concern, if I understand you correctly, you are trying to somehow pass values from your online form (built and hosted in www.jotform.com), to be passed on JotForm Engine which is in your own server?

    I am not sure how this is done and it is quite a complex setup, from what I know and based from our Privacy policy statement, we only use cookies for log in sessions in www.jotform.com, but not in the forms.

    Perhaps, using the API for www.jotform.com would still work even if JotForm Engine does not any any API library. You group the forms in a main folder, then fetch the list of forms on that folder and sort them by the latest form edited? 

    To get the list of folders, you can follow this guide: http://api.jotform.com/docs/#user-folders 

    To get the forms on the list of folder, you can check this one: http://api.jotform.com/docs/#folder-id 

     

    I hope that helps.

  • Profile Image

    Answered by mmora_dxt on December 02, 2015 at 11:25 AM

    Thank you! I will contact to Interlogy support...

  • Profile Image
    JotForm Support

    Answered by Charlie on December 02, 2015 at 12:31 PM

    You are welcome. Should you need any assistance again, feel free to contact us.