Hi, i am using embedded code to implement the typeform in my own website page and it’s coming nicely. But my problem is i don’t know how to insert the form data into my website database.
Thanks @Liz for your quick reply.. As i am new using this Typeform api, so should i need to have the CLIENT_ID, CLIENT_SECRET, ACCESS TOKEN for fetching the response?
Thanks @Liz, sorry for late reply due to work pressure 🙂 I have implemented the Response Api as you suggested to fetch form data to save to my own database. But i have a query, doing this web form implementation i have a requirement to pass a dynamic value from this web form to one of the Typeform fields. I assume that this can be done using hidden field, but somehow i am not able to get this value in Typeform. Here is my screenshots.
<script> function ready({ formId }) { console.log(`Form ${formId} is ready`) }
function submit({ formId, responseId }) { console.log(`Form ${formId} is ready`) }
</script>
Suddenly i got no response in my console log when the form is ready, therefore same way i am not able to submit my responses to my server. It was working like champ list week … I couldn’t find out the exact reason for this …
@Liz, i have fixed the issue.. I supposed to copied the newly embedded code after adding two hidden fields in Typeform and this copied section was missing some of form tags..
Hi, i am using embedded code to implement the typeform in my own website page and it’s coming nicely. But my problem is i don’t know how to insert the form data into my website database.
Thanks @Liz for your quick reply.. As i am new using this Typeform api, so should i need to have the CLIENT_ID, CLIENT_SECRET, ACCESS TOKEN for fetching the response?
Hi @Kapur Yes, you will need those. This page here can walk you through how to obtain that information.
Not a problem, @Kapur ! Let me know if you think of any other questions.
Thanks @Liz, sorry for late reply due to work pressure I have implemented the Response Api as you suggested to fetch form data to save to my own database. But i have a query, doing this web form implementation i have a requirement to pass a dynamic value from this web form to one of the Typeform fields. I assume that this can be done using hidden field, but somehow i am not able to get this value in Typeform. Here is my screenshots.
Embedded FormTypeform Field
Hi @Kapur No worries at all! Do you have the URL where you have the form embedded so we can look at the embed?
Hi @Liz , thanks for your reply. I have succeeded to get that hidden value in Typeform field. Thanks again.
Glad to hear, @Kapur ! Let us know if you need help with anything else.
Hi @Liz , suddenly i am facing a problem.. as i am implementing the embedded form with response Api call back function.
<script> function ready({ formId }) { console.log(`Form ${formId} is ready`) }
function submit({ formId, responseId }) { console.log(`Form ${formId} is ready`) }
</script>
Suddenly i got no response in my console log when the form is ready, therefore same way i am not able to submit my responses to my server. It was working like champ list week … I couldn’t find out the exact reason for this …
Thanks
@mathio do you happen to know if this is because it’s all being done on the front-end?
@Liz, i have fixed the issue.. I supposed to copied the newly embedded code after adding two hidden fields in Typeform and this copied section was missing some of form tags..