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.

Conditional label??

Featured Replies

I am building a little billing program for the people I work with. Some of them are paid on a daily rate and some on hourly. I was thinking of making a radio button to select one or the other. Then I would like to have one field for data input regardless of whether they selected hours or days. Based on the value selected, the data input page would have a label for "Hours Worked," or "Days Worked." Can my version of FMP recognize a field and adjust the text in a label automatically, or will I have to build two different data input layouts?

Assuming that your radio button values are actually "Hours Worked," or "Days Worked," just use the field itself as your label.

  • Author

Not quite. Hours (or Days) Worked is an numerical input field, not a binary choice.

I was thinking the radio button would go on the page where you select whether you are on an hourly rate or a daily rate. I have one layout for setting up the billing and another layout for recording your time. In the setup you define each project and whether you are paid hourly or daily for that project. Then to use the program for recording your billing, you go to the second layout, select the project by number, and type in your hours or days. I would like the field label in this second layout to show whether this project refers to hourly or daily billing.

Hours/Days Worked is a numerical input field, yes. But the radio button field on the setup layout is a text field, right? That's the one I'm saying can be used as the label.

  • Author

I see. I'll give that a try.

  • Author

It works great, thank you! I created a radio button set with the value list words, Day and Hour. Then in the billing layout I inserted a text box with the merge field linked to my new radio box field, followed by an s. So the text box looks like Days or Hours in the browse mode. Just what I wanted, again, thanks.

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.