How can I integrate a jotform within my app with my own users

  • liupascal
    Asked on May 17, 2017 at 4:09 PM

    Hello

    I have some technical questions

    Point 1

    We're building a web platform for a client who'll be needing many customized forms. And we'd like to use Jotform as a form builder + submission interface.

    Q1) On the platform, users should be logged they want to access a form - Technically, how can we check on a jotform page if the user is logged in our platform, and how can we pass the user information to the jotform ? We'd like to avoid iFrames as much as possible.

    Point 2

    We'll be dealing with many customized forms : our platform doesn't know in advance what field it will have - we plan to create a "hook" / use your API to save the form data in our database for further processing every time a form is submitted

    Q1) Is there any API that describes the structure of a form ? So that our code can "map" the fields in order to save them properly in our database ?

    Q2) If a user wants to EDIT a form submission,

    a) is it possible ?

    b) how can we manage the permissions / rights over a form submission update ?

     

    I hope my questions are clear.

    Many thanks for your help

    Pascal

  • Sven
    Replied on May 17, 2017 at 4:54 PM

    Hi Pascal, 

    Point 1 - Q1: Unfortunately we don't have any feature to validate that the user is logged on or not, an external script would need to be written on your side to ensure that only users who are logged on can see the form. You can pass the user information through URL, please see the guide below:

    Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters

     

    Point 2 - Q1: You can contact "api@jotform.com" regarding any API questions, they are the responsible team and they will have a lot more insight on that. You can also check our full API documentation here:  http://api.jotform.com/docs/

     

    Q2: It is indeed possible to users to edit their submissions, please see the guide below on how to set this feature up:

    How-to-Let-Users-Update-Their-Form-Submissions-at-a-Later-Date

    You can control permissions and right using conditional logic, for example only send the edit link if a certain condition is matched, or only send the edit link for certain people. More information on conditional logic:

    Smart-Forms-Using-Conditional-Logic

     

    Hope this helps, please let us know if you have any questions.

     

    Thank you!