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 Value List / Date Calc

Featured Replies

(I searched a number of different threads but couldn't find the answer to my question.) This ought to be relatively simple...I hope!

I have a radio-buttoned text field and a date field. When asked if a user had filed a report, he or she would choose either Yes - No - N/A from the value list; if Yes is chosen, I'd like the computer to beep with a message to appear that says, "Enter Date" and the user would enter the date.

However, if he or she changes is or her mind later and selects the No or N/A radio button, the contents of the date field would be deleted; I'd like a validation-type calculation where FM won't allow a date entered with either the No or N/A button pressed.

I tried writing a script and a calculation, but just couldn't "get it." As always your help is GREATLY appreciated! TIA for your replies.

WF7A:

One way to do this is to overlay invisible buttons onto the radio buttons. Each of these buttons would have a script attached. For your 'Yes' button, it would be something like:

Set Field [Your_Button_Field; "Yes"]

Beep

Show Custom Dialog [...set a custom dialog to allow them to enter the date field...]

For the other two, you would do something like this:

Set Field [Your_Button_Field; "N/A"]

Set Field [Your_Date_Field; ""]

To the user, it looks like they are just clicking on the radio buttons, and the rest is magic.

-Stanley

  • Author

D'oh! Invisible buttons. I never would've thought of that.

MANY thanks, Stanley--I appreciate your help very much!

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.