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.

Field pattern inside a portal

Featured Replies

A simple question:

 

When a create a portal and I activate the option of alternate colors, how do I get the fields on my portal to follow automatically  the same background color  than the row where they appear.

 

 

I tried pasting formats from some templates I found, but it doesn't work.

 

 

  

I've used this calculation in conditional formatting to get this desired appearance in list view:

 

Mod ( Get ( RecordNumber ) ; 2 ) = 0

 

It may work for portal rows as well? Let me know, please.

 

- - Scott

Make the field transparent?

  • Author

Thanks for the help.

 

I tried with the formula  Mod ( Get ( RecordNumber ) ; 2 ) = 0

 

that did nothing, which is normal since I don't understand what it does and it must be adapted to the context.

 

For transparency,  I don't find that  and making the whole field transparent is not a solution for me.

This is not as simple as it may seem. I don't know why transparent fields won't work for you, but if you really must, try defining a calculation field in the child table (the table whose records appear in the portal), cRecordNumber =

Get ( RecordNumber )

The result should be a Number and the calculation must be unstored. Once you have that, you can conditionally format you portal fields using:

not Mod ( ChildTable::cRecordNumber ; 2 )

as the formula.

 

 

Note that this will NOT work for the last portal row in a portal that is allowed to create new records; for this, the calculation needs to be more complex.

  • Author

I have taken note of the formula.

 

For now, I pasted a portal from a Template and it works as it is.

 

Thank you.

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

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.