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.

Featured Replies

Hi all ,

Question:

I have a list view

Each record in that list view has a portal in it.

Each portal has 7 rows

Each row in the portal has 5 fields all these field are radiobuttons (yes-no)

and each record in the portal row has also 5 date fields

On this radiobuttons I put a button (script ) containing the following (I have 5 of them):

if field (portal::radiobutton) = "yes"

set field (portal::radiobutton) = no

set (field) (portal::date) = current date

else

set field (portal::radiobutton)no

set field (portal::date) = ""

No the script works just fine exept it always 'refreshes' the window. So it takes like 2 seconds. Is there a way to avoid this . So it becomes faster.

hope you understand teh problem and someone can help me

Thx,

Thierry

Try addind a freeze Window step at the begininning of the script ... it shouldn't take that much so I'm wondering if you also have other fields in the layout that get recalculated because of the changes made by the script

btw, I'd refine the script as follows

if field (portal::radiobutton) = "yes"

set field (portal::radiobutton) = no

set (field) (portal::date) = current date

else

set field (portal::radiobutton)no <- this is pointless

set field (portal::date) = "" <- make this DateToText("")

Actually the problem is that you will eventually HAVE to refresh the window, to show the new state of the radio button.

I would simply avoid having a portal in every row of the list view. Show the results as a calculation of related fields or something else. If editing needs to be done, then goto a form view, so that only the edited record needs to be refreshed.

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.