Checkbox State

How to receive the checkbox status of the UiPath.Form.Activities activity?

image

Hi @JoeV

Based on the selector and property as aastate in Get Attribute Activity

Thanks

Ashwin S

Hi @JoeV

I tested it for a bit and it seems like the Form returns the result as a boolean variable. See here:
image
image

I hope it helps a bit :slight_smile:

3 Likes

Thank you!!! Now it worked for me …:love_you_gesture:

2 Likes

Hello @JoeV, I faced same issue, Could please tell me what will be the result in your case ? Is it “Brasil” or “True/False” Value ? If possible share your example. Thanks in Advance

1 Like

For every check I make it will be true.

1 Like

So not able to get Brazil as output, right?

Hi @hsendel

You can use Select Box component.

You will get the selected value as true, you can check the output and process it.

image

If you only want <ex:brazil> to be assigned to workflow variable, then try to use dropdown control.

1 Like

Thanks @Tamilselvan, Could you please help with the attached example? Thx in advance Example.zip (25.0 KB)

Still not working for me :disappointed_relieved:

Hello @Tamilselvan, Any update on this ?Thx

I worked it without the Select Boxes Component, and with respect to your list of countries can you explain how you will get the value?Example.zip (61.0 KB)

1 Like

You can share your example to see how to obtain the values of the checkbox using the Select Boxes Component

1 Like

Thanks @JoeV,
You can use same attached example, and as you can see, when you input your Last Name and First Name, you will not get “Gendre” and " Country" selected as output, as follows:

Input :


Output:
image

But for me I need to have the following output:
Michale John Male Germany

You can use a Activity IF on Gender.

1 Like

Thanks @JoeV, Could you please include this feature in above shared example, I don’t know how to achieve it.
I need to have Gendre Type: Male or Female instead of True/False
and Country Name instead of “System.String []”

Thanks in advance

Hello @JoeV, any update so far?

Only do the Gender Type, if you can get it from the country, you share it.
Example.zip (24.5 KB)

1 Like

I got the following error when opening the file :

Could not find type ‘UiPath.Form.Activities.FormActivity’ in assembly ‘UiPath.Form.Activities’. Row: 84, Column: 6

I attach the right thing.Example.zip (60.4 KB)

1 Like