Create Date Form

I am using the Create Form activity in the UIPath.Form.Activities package and I would like to know if there is a way to set the placeholder to the current date. Also if there is a way to prevent the user from entering a date after the current date?

Hi @Nelson.R,
Sure it is possible. You just need to push string variable with current datetime and use it for example inside the label component (which is not editable).

I am using the โ€œDayโ€ Component. When I enter Now.day into the Placeholder it shows up like this.

Day component is only for setting date as an output value for further use. You canโ€™t use values as the same way as any other VB.Net methods and additionally placeholder is the place where you need to write just a value. It will fill out the right box only where the actual set value is empty.

1 Like

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