Skip to Content
0
May 14, 2010 at 09:11 PM

Help: Master Pages: Move following fields upwards when field is hidden.

719 Views

Hi all,

I have a bugging issue for which nothing seems to work.

In the master data pages I have the following:

Subform1
    Field1
    Field2
    Field3

If Field2 is hidden I need to show:

Subform1
    Field1
    Field3

Subform1 is set as Flowed Top to Bottom.

Field2 has code in Form:Ready:

if ( Field2.rawValue == null || Field2.rawValue == "" ) {
    Field2.presence = "hidden";
}

The above subform works perfectly IFF it is located inside the content area in the Design View page, but doesn't work if located in the Master Pages.

Do you guys have any solution to this?

Thanks,