Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need conditional statement to expand layout

Featured Replies

  • Newbies

Hi there.

I can't seem to figure out how to add a conditional statement to a layout which will allow the expansion of the body if a certain boolean variable is toggled.

Specifically, this is for a school's database in which certain students need a double address (for report cards, etc). If "Double Report" is set as "Yes" then I want the body section to be twice as large and contain the second address. I have a feeling this may be impossible.

Any help would be appreciated!

Thanks, Will

Welcome Will!

It's not possible to dynamically expand the size of a layout part. Instead you can have the body set to the double report size, and use sliding parts to slide fields up and Reduce the size of the enclosing part. This will work if there is no data in the fields you select as sliding fields. These sliding fields only work in Preview mode or in print outs.

For your case where you have populated fields, but you still want to control whether or not they show, you would need Address 2 calculation fields that either have data or are empty, based on the user's selection.

An easier way to do this is to use two layouts, one for the single addess, one for the double address.

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.