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.

Highlight appears on last row of portal

Featured Replies

I have been experimenting with highlighting portal rows according to certain conditions

Mostly it works well but I have one problem in portals where a user can create records in related tables.

For example I have a table Routings which holds the ID name and notes for an airfare routing. The routing is specified in a number of related tables. Vias, Segments, Direct flights, and Stopovers

What I am trying to do in these portals is to validate data as the user enters it. So that if he has entered data in a portal row but it is invalid then the field or row is highlighted acording to the error.

I set up a calculated check field to validate the data... if it returns a 1 then everything is ok. A 0 means the data is invalid, if data is invalid I want to highlight the that row or field. Behind the portal is another calculated field "highlight", the calc for this field is that if "check" =0 the result is a container that highlights the portal row with the error.

So far so good... everything works fine except for one problem.... the last empty portal row always shows the highlighted field before any data is entered . I set the check field to Case (IsEmpty(datafield);1; ... as the first part of the validation but it doesnt work the last portal row is still always highlighted before data is entered.

I guess it is similar to the problem of having a button on a portal row that always shows on the last empty row before data is entered...... that isnt a big issue to me but I would like to get rid of the highlight on the last row if possible since i only want to highlight a row if it is incorrect data

Have you tried auto-entering 1 into the field?

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.