I have an app that give me the option to copy a record from a gallery and populate and edit form. This edit form has corresponding labels for data cards that are required. These labels have a background fill if no value is selected in the data card's control. Once a value is selected the label is populated with the value and the background changes color.
This works perfect when the form is first in edit mode and a new record is submitted. I run into issues when the form is populated with data from a global variable. When I click on record in a gallery and click copy the record is copied to the global variable and the user is sent back to the edit form. The form is then populated with the record data from the global variable. The problem is that the labels seems to not recognize that the combo box controls have a value as they are triggered by the selected value of the combo box. Like this:
CB_Industry.Selected.'Industry Name'
What do I need to change so that these labels re-evaluate the combo boxes? This also appears to be an issue with the submit button which remains disabled until all of the required data cards are completed.
Hi @futr_vision ,
How are you controlling the background fill color of those Labels, what formulas are you using? If you want to check if a Combo box has no value been selected, you can use the following formula:
IsBlank(CB_Industry.Selected)||IsEmpty(CB_Industry.SelectedItems)
Best regards,
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional