How to show entered data in a form as a list?

1
+1
-1

Hi,

I developed a form in lane in bonita and wanted to list the data entered as a plain HTML Page in the next step. For example, if I entered some info in the fields of first name, last name, age, Company name etc., then on submitting the form, it should display the HTML view on the next step as the list of fields entered by me. In order to do this, what methodology should I follow?

Thanks,

Shantanu

1 answer

1
+1
-1

Hi Shantanu,

You can use a groovy script like that to solve your issue (if you are using string variables, at least)

def a = variable1
def b = variable2
def c = variable3

["${a}","${b}","${c}"]

You will set this code at your dropdown list (for example), in your form.

Some adjusts may be required depending on your variable types.

Hope it helps.

Notifications