Uipath Forms usecase

I have uipath form with 3 fields…

  1. Name
  2. Address.
  3. Phone Number

i use a url, www.fakenamegenerator.com/ where it has all data for the above fields…

how to have a button in the form and while clicking it, all the respective fields in the url should be scraped and to be populated in form fields?

You scrape the data before the Form activity, then pass the data into the Form.

when i use get text and pass as variables…then run form is having fields… but how should i use a button and when i click it should populate data

Then you have to set the button not to close the window when submitted, and put your “populate data” activities into the Create Form activity’s Do sequence. As long as your variables are set to in/out when the Do sequence changes the variables they’ll change in the Form.

i tried it but no luck. if i have get text activities in do section of form…no data is getting populated

You have to create arguments for your form as in/out arguments. Your activities need to populate those arguments.

Create your form and add an in/out argument:

image

The variable doesn’t have to be named the same as the argument, by the way. Just my personal habit.

Add a key to the Submit button so it doesn’t close the form:

image

Add activities inside the Do block that change the value of the variable:

image

Now when I run my automation it presents the form with no value (because textVal doesn’t have a value yet):

image

And when I click the button the Do block executes which changes the value of textVal:

image

Thanks. i found the solution. same way is it possible to read each row of excel in a uipath form?