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.

Required Field, Sometimes?

Featured Replies

(I am using FM Pro 4.1 for Windows)

I have two fields, Product and Version. Product is defined as a text field and is populated via a value list. I want Version to allow blanks (null) EXCEPT when the value of Product is "Other" in which case Version must have a value.

What would be the best way to accomplish this? (Assuming it CAN be done wink.gif )

[This message has been edited by chandra (edited August 15, 2000).]

  • Author

Shameless self-post to bump this thread back to top of the list in hopes of getting a response. smile.gif

quote:

Originally posted by chandra:

(I am using FM Pro 4.1 for Windows)

I have two fields, Product and Version. Product is defined as a text field and is populated via a value list. I want Version to allow blanks (null) EXCEPT when the value of Product is "Other" in which case Version must have a value.

What would be the best way to accomplish this? (Assuming it CAN be done
wink.gif
)


Here is the basic procedure, you fill in the details.

Put validation (field level or through scripting, I recommend scripting it) on the Version field. The validation should generate an error ONLY if the value of Product="Other" and IsEmpty(Version).

Then perform whatever you want to do to correct the validation error.

I recommend scripting this because users have a hard time dealing with validation errors. Scripting them through the resolution to the error will give you better results.

------------------

=-=-=-=-=-=-=-=-=-=-=-=-=

Kurt Knippel

Senior Filemaker Developer

http://www.database-resources.com

mailto:[email protected]

=-=-=-=-=-=-=-=-=-=-=-=-=

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.