Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Mobile - How to hide an input form section if all inputs are hidden? - HideIfDescriptiveOnly

Ramon Cordova
Tera Contributor

Hi!

 

I'm catching up with some new features in Mobile development.
I saw this in the release notes and wanted to try it out:

RamonCordova_0-1765142244244.png

I have an input form screen with a section set up with a descriptive element, it's very basic:

RamonCordova_1-1765142388100.png

The docs says that if I add HideIfDescriptiveOnly attribute to the input form section and set it to true, the section should be hidden if the inputs in it are hidden as well, but I can't get that to work.

RamonCordova_2-1765142502363.png

I have a UI Rule, that hides the checkbox in the screen, but the section still displaying even when the input is hidden:

RamonCordova_3-1765142614502.png
So that attribute doesn't seem to be working or maybe I'm missing something.

 

References:

RamonCordova_4-1765142694899.png

Mobile Platform release notes

Configure input form sections

 

0 REPLIES 0