How to use form to get dates as per user basis

Hello Everyone,

I need to give an option to user which date do you want to select
1.previous month of the last and first date
2.Custom date

But user should be select from calendar

Thanks

hello @suraj_gaikwad,
you can try using “Message Box” activity

Yes , but need to use calendar for custom select date
@darshit.patel

Hello @suraj_gaikwad

You could use an Input Dialog to make the user select between the two options.
And afterwards use a Switch activity to guide the flow of the proces.

If the user choses “Select Date”, you could use UiPath.Form.Activities to make a basic form showing a Date Picker.

Regards
Soren

Yes ! Could you please elaborate about Form

I used but nit getting exactly way to do
@SorenB

Thanks you

1 Like

I created a new form and dragged in the Date/Time module from under Advanced features.
After saving the form, and selecting it in your Show Form activity, you should be able to grab the selected date from the out Arguments.

The Form

Arguments

Regards
Soren

Ok, let me try

Thank you
@SorenB

1 Like

Hi
@SorenB

Getting error

Can we do basis on radio button .

1 Like

Hello @suraj_gaikwad

Did you succeed in making the form?
The error indicates that the form might not be created yet.

I guess you could bypass the initial Input Dialog, and make the entire thing in a form :slight_smile:

Regards
Soren

Yes done

@SorenB

Thanks

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.