JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
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.
getting the last_form cookie value and inject jquery function to submit buttonAsked 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:
I'm not sure if I understand your setup.
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?
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.
Thank you! I will contact to Interlogy support...
You are welcome. Should you need any assistance again, feel free to contact us.