Hi
Seems like such an easy thing to do, but i'm struggling!
I have a form and gallery connected to my sharepoint list. When a user selects an item from the gallery, the form populates.
I have a combobox (DataCardValue8) connected to a field on the sharepoint called "Approval"
There is also a date picker field connected to a sharepoint field called "Approval Date"
I'd like to populate today's date into DataCardValue18 (date picker field) if "Access Granted" is selected in the combobox.
If "Access Pending" or "Access Denied" is selected from the combobox, i'd like to clear the value from DataCardValue18.
I've been using this code (which doesnt work) in the OnChange property of the combobox:
If(DataCardValue8.Selected.Value = "Access Granted",
DataCardValue18.SelectedDate = Today(),
DataCardValue18.SelectedDate = Blank()
)
Can anyone tell me where I'm going wrong please? I dont get any errors, but the date doesnt update when I change the combobox.
Thanks,