Hello
I am creating a new form and I want one of the drop-down list to be pre-selected with a default value.
This list contains dates (in the format of strings), which are Mondays of each week (refer to the attached screenshot). This list is based off a separate SharePoint list (only containing dates), that is looked up by the SharePoint list that is the basis of this form.
I want the default value to be the Monday of the following week from today. For example, today is 2020-02-05 (Wednesday). I want the pre-populated default item to be 2020-02-10.
I have tried writing the following code in the Default field in the DataCardValue I am interested in, but this doesn't seem to work:
LookUp(
Choices('Activity List'.Week),
Value=Text(Today() + 7 - Weekday(Today(), MondayZero),"[$-en-AU]yyyy-mm-dd"))
I would welcome and appreciate any help. Also as this is my first post, just a quick shout out to all users who have been posting and answering questions. This is a very good resource for general queries.
Many thanks!