-
yogiparishAsked on July 19, 2017 at 2:44 PM
How can I embed a form in an existing page to edit old data
I can't seem to get my head around this, but I think it should be easy.
I want a user to have the possibility to either enter new data into a form that is embedded into my webpage.
For Example
that looks like this basically:
<>
Embed code:
<>
Now what I want to do is to generate a link with the autoresponder that will have the link to the same webpage, so the can edit the entries later.
The link would be:
http://mysite/entryform.html?sid=ID_OF_THIS_ENTRY (usually a long number)
and the webpage should do this:
<>
Embed code:
<>
So the actual page would be more or less the same. Only the SID should be passed (if the query exists) to the jotform servers
I'm stuck, but I think this should be really easy.
Thanks for any help!
best
yp
-
MikeReplied on July 19, 2017 at 4:16 PM
Thank you for contacting us.
If you use default embed JS code like this:
<<HTML>>
Embed code: <script> ... as copied from the PUBLISH page... </script>
<<REST OF MY HTML>>The prepopulation by URL parameter will most likely work by default (no modifications required):
http://mysite/entryform.html?sid=ID_OF_THIS_ENTRY (usually a long number)
So my suggestion is to try it on a live page, but you need to make sure that you have a sid field on your form.