Dynamic Digital form

Hello Experts,

We have a requirement to accept the user input and i guess best way is digital form.

However, user can enter multiple inputs required one after another.

Also, need to show dropdown list with values received from API data.

Is it possible to have text field in such a way that new field can appear once the data is entered.

@amit.bansal Please read Dynamically assign data in a digital form
There is a feature request for supporting the dynamic population of digital form components. It is planned to be rolled out later this year.

@swagata.sengupta i had read that article before, so using below syntax, will be able to prefill the form with dropwdown values or not?

@amit.bansal
Not yet. Prefill।works for only text field. For list it can pre-select an existing static value but cannot “create”the entire drop down.
This feature is in the roadmap.

Hi @swagata.sengupta ,
Just wanted to get an update on this, is the feature for dynamically populating the options in dropdowns/ checkboxes, etc in Digital Forms (from context) out yet?
Also, apart from input fields, can we populate the text in a note, label or pro-tip from context data?
Your previous reply mentions that the feature is to be rolled by the end of 2022, but I couldn’t find anything about this in the documentation. Apologies in advance if I missed something obvious.

Any updates would be appreciated.

Hi Swagat and Team,

Could you please confirm if we can dynamically populate the dropdown list in Digital forms?

Yes, the ability to dynamically change values in a form has been added to the platform. Here is the link to the latest form documentation:
https://docs.kore.ai/xo/automation/use-cases/digital-skills/digital-forms/?h=form

To modify your form, start by opening the form and clicking on the vertical ellipsis at the top right.

Click on Form Setting.
image

Use the pre-processor script function to modify the form values.

The documentation explains how to identify the values in the form design.
Good luck!

Update: I spent more time working with the pre-processor script and realized my instructions only show you to VIEW the script contents and not edit. To edit, hover over a form and click on the settings icon.

Click on Form Setting in the drop down list.

The script editor will be active in this in this view. To understand the context of the form, I preview (Test) the form and copy the JSON description.