Hi @fdenman ,
Do you mean that you want to enable the Icon when all Text fields are not empty?
According to your scenario, if one of these Text field is not empty, the rest of them are empty, how do you want to do for this condition? Disable the Icon or enable it?
If you want to enable the Icon when all Text fields are not empty, please try the following formula:
Set the DisplayMode property of the Icon to following:
If(
IsBlank(TextInputAddID.Text) || IsBlank( TextInputAddLocation.Text) || IsBlank(TextInputAddRestriction.Text),
DisplayMode.Disabled,
DisplayMode.Edit
)
or
If(
!IsBlank(TextInputAddID.Text) && !IsBlank( TextInputAddLocation.Text) && !IsBlank(TextInputAddRestriction.Text),
DisplayMode.Edit,
DisplayMode.Disabled
)
In other words, you must determine a DisplayMode "State" for the Icon when one of these Text field is not empty, the rest of them are empty. The following two conditions that you mentioned face some conflict error:
1. disable an icon only when all TextInput fields are blank, otherwise enable it.
2. want the icon to be enabled when all fields have text in them
Above two filter condition could not be combined together into your If formula, you must choose one of them. e.g. "want the icon to be enabled when all fields have text in them"
Best regards,