Hello all,
I’m hoping you can help me with this problem – I’m teaching myself as I go so it is probably a simple solution, but I haven’t been able to figure it out.
I’m trying to build an app to be used for quality monitoring. There are several interaction types that are monitored, and a number of subcategories. I have two dropdowns, one for the interaction type and one for the subcategory. The visibility of criteria changes depending on the selections made from these two dropdowns.
Each criteria is a choice column in a SharePoint list, with the choices set as Yes, No, N/A. The default is set to blank. Criteria that are not visible are set to fill ‘N/A’. N/A can also be used by people completing the form if the criteria isn’t relevant to the circumstances.
There will be times when the form cannot be completed in full in one sitting, so there are three status options also in a dropdown of Completed, In progress, and Invalid.
If this happens, when the status is set to ‘In progress’ and the form saved I want any criteria that do not have an entry to save as blank, however they are currently defaulting to N/A. This obviously presents an issue when returning to complete the review.
I’ve tried both these options in the default value without success:
Option 1 -
If ('criteria1_DataCard2'.Visible= false, "N/A", ThisItem.’criteria1'.Value)
Option 2 –
If(IsBlank(DataCardValue11.Selected.Value) || IsBlank(DataCardValue12.Selected.Value)," ", ThisItem.’criteria1'.Value)
What am I missing here?