I have one form that i am using for different people to update a SP list in a canvas app, I have a few date fields and ideally i want the date picker to be blank if someone is viewing a field they should be editing and adding a date to, but if that date field already has a value, then it should just show that date, any help would be greatly appreciated, thanks
Solved! Go to Solution.
Hi @CiaranCampbell ,
Woud you like to disable or make the date control in view mode if date has already been added by a user i.e. if date is not empty. You can achieve this by using below formula in DisplayMode property of DatePicker -
If(!IsBlank(ThisItem.DateColumn), DisplayMode.View, If(FormName.Mode<>FormMode.View, DisplayMode.Edit, DisplayMode.View))
Hi @CiaranCampbell ,
Woud you like to disable or make the date control in view mode if date has already been added by a user i.e. if date is not empty. You can achieve this by using below formula in DisplayMode property of DatePicker -
If(!IsBlank(ThisItem.DateColumn), DisplayMode.View, If(FormName.Mode<>FormMode.View, DisplayMode.Edit, DisplayMode.View))
Default property: Coalesce(Parent.Default, Blank())
User | Count |
---|---|
246 | |
105 | |
82 | |
50 | |
43 |