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.

START-STOP BUTTONS How to change visibility

Featured Replies

I'm building a time clock

The first layout you see is a switchboard that takes workers to their own personal screen.

When they get to this screen they select a task and then have two options:

If they are not currently working on something they can hit the START button.

If they want to clock out they can hit the STOP button.

I would like to have only one of these buttons visible at a time.

The START button already inserts current time into a start field.

I would like it to also direct the STOP button to go to the back of the layout.

Conversely, I would like the STOP button to insert current time into the stop field

and chase the START button to the back of the layout.

Can this be scripted?

Thanks,

Jarvis

Use 2 portals, one for each button. Make 2 self relationships, one is valid when when you want the start button to show, the other is not valid so the stop button will not show. Change this when you want the stop button to show so that it has a vaiid relationship and the start does not. After you get this working make the portal border invisible.

The portals can not be on top of eachother.

Hi,

Ralph's version is the best way...

If you are not comfortable with relationships and portals...

You could use duplicate layouts (identical layouts) one with a START button

the other with a STOP button. Have scripts attached to each button.

A start script would set the start time & goto layout "EndTime". the other

would set the end time & goto layout "StartTime".

HTH

Dan

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.