Is it possible to add Json code to the form?

  • office07
    Asked on April 24, 2018 at 4:14 PM

    Hello,

    Is is possible to populate a select field or a table with json imported info?

    Thank you

  • Kevin Support Team Lead
    Replied on April 24, 2018 at 6:10 PM

    Only CSS codes are allowed in the builder so it will not be possible to add any other code. However, you may opt for any of the following alternatives: 

    - Spreadsheet to form widget: This will help you to load data in the fields from a spreadsheet using an unique code. Guide: https://www.jotform.com/help/442-How-to-Use-the-Spreadsheet-to-Form-Widget 

    - Prepopulating the fields through URL parameters: https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters 

    - If it's required for you to use Json then you may get the form's source code and handle it on your end to add the needed scripts: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form 

    I hope this helps. 

  • office07
    Replied on April 25, 2018 at 12:44 AM

    Is there a way to do the following?

    1. Need to create electronic hockey match sheet to be signed before match starts

    2. Data of teams, players, jerseys numbers match etc.. is provided by the tournament organization via online json file.

    3. Player should select his name and sign with finger the match sheet.

    I know 1 and 3 could be done with forms but not sure if possible to take just a few info from that json to put it in a list where the player could click and get the signature step and submit or just save that info.

    I dont have a plan yet but if its possible what i need to do of course i'll take one of the planes.

    Thank you very much

  • Ashwin JotForm Support
    Replied on April 25, 2018 at 5:23 AM

    Unfortunately it is currently not possible to add json object in form and automatically parse it. For security reasons, it it not possible to add any external script code in form. You can take the json code, parse it through some other program and then add it in your form.