Apply UI rule on Input screen for mobile app based on variable value

KapilG931162839
Tera Contributor

I have an input screen have input fields which are auto populated via variable. I need to apply UI rule based on the value of that variable.

For eg,

Input field named ABC is read only, has value coming from database field variable.

Now i need to apply 

if ABC == empty,

set visibility of field XYZ as true/false.

 

Please help me write the condition in the condition field of UI rule

simply writing ABC=='' or ABCISEMPTY doesn't work.

1 REPLY 1

NagaChandaE
Mega Sage

Hi @KapilG931162839 ,

In input form screen . we have ui rules.

Screenshot 2026-03-09 at 11.03.00 PM.png
Give a name and make settings like this 

Screenshot 2026-03-09 at 11.07.15 PM.png

In that condition should be like this  your input variable name = value
Screenshot 2026-03-09 at 11.05.43 PM.png

In triggers select onLoad
In Ui Rule Action 
For visibility select like this . The Target field is which you want to show or hide

True will show the field . 
False will hide the field.

Screenshot 2026-03-09 at 11.08.26 PM.png