In app designer, I have a drop down for the number of mobile base stations, which based on the number, the user have to input the coordinates for each of those base stations. For example, if you choose 2 from the drop down, you have to input a set of X and Y for each of those base stations.
Now I have created one edit field for every coordinate input… 4 in total, which all are visible. What I want is to have only the first one visible. If the user chose 2 from the drop down menu, the second edit field shows up, and if 3, the third one appears, and so on.
There is the HandleVisibility and Visible interactive control. I tried setting the edit fields handle on callback, so that I can toggle the visibility of other fields in the callback using an if statement.
BaseStation = app.BaseStation_DropDown.Value; if PhoneNumber == 1 app.User2Label.Visible,'off'; app.User3Label.Visible,'off'; app.User4Label.Visible,'off'; end
Whatever I did, it's not working. Any help is appreciated.
Thanks
//
Best Answer