I need to fetch json data from an external api call and I need to populate my form's initial values from the values received in the json

  • Ibrahim_Muhammad
    Asked on February 11, 2021 at 12:36 PM

    I need to fetch json data from an external api call and I need to populate my form's initial values from the values received in the json.

    So my fetch/api call via http needs to made before the form loads up and I need some way to populate the form fields with some of the values that are returned.

    How would I do that?

    Also is it possible for us to call a jotform form with parameters in which we initialize the form values?


  • jonathan
    Replied on February 11, 2021 at 4:09 PM

    It is possible to prepopulate the fields using URL parameters. By this method, you can prepopulate the fields coming from an API. You can check out this user guide on :

    Prepopulating Fields to Your JotForm via URL Parameters

    Let us know if you need further assistance.