Hello,
I have Edit form that changes the data source based on specific condition. and for one of the form fields, I have formula with default property as follows:
Switch(varCondition,"True", ThisItem.Workdetail,ThisItem.Title)
Where
ThisItem.Workdetail == field from SP List 1
ThisItem.Title == field from SP List 2
However, because current data source value is "SP List 2" for the form, it throws an error for the formula that "function switch has some invalid argument" as ThisItem.Workdetail is not available in "SP List 2"
Can you please share how can I resolve this error?
Thanks,