I have 1 - 12 text inputs, it depens how many items is selected in one combobox. My combobox OnChange property: ClearCollect(box,"");
Collect(box,myComboBox.SelectedItems);
My text field defaults are like this: Index(box,1).Value and so on. I also had variable that counted the rows in that combobox and used that as a limiter. So i tried to use defaults like this: If(VarLimiter >= 1, Index(box,1), Blank());
This actually works and does the job. But i get this red warning notification when i change the combobox items. The warning comes from this example: I have four different text fields with default function as above. So the first one is:
If(VarLimiter >= 1, Index(box,1), Blank());
Second text field:
If(VarLimiter >= 1, Index(box,1), Blank());
And so on. When i choose 4 items to that combobox and then take one away, the warning comes and says that the index has to be between 1 - 3. This is because now the text field4 "can't" work because its index doesnt exist.
Is there better way or is there a way to just turn that notification error message off?

Report
All responses (
Answers (