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.

Value List Dynamically created from Checkbox set

Featured Replies

  • Newbies

I am coming from the world of MySQL & PHP and am a relative new-comer to FileMaker. The company I am now with uses FileMaker Pro 8.5.

I have searched the forum(s) for a solution to a problem I have regarding value-lists but can’t find one.

(Here’s my problem)

I have a Company Information layout page with the following fields:

“Company Name”, “Address”, “City”, “State”, “Phone”, etc…

I also have a Checkbox Set (defined as “Contact Type”) with the following choices available:

“Client”

“Consultant”

“Personal”

“Prospect”

“Other”

I have defined value lists according to these Contact Types. When a “check-box” is marked and the record has been committed (i.e., clicked out of the checkbox set), I would like to dynamically add the “Company Name” to a value list according to the category chosen. So, if a company was tagged as a Client, that company’s name will be added to a value list for Clients. Same scenario for those that have been tagged as Consultants and so on. These value lists will then be made available in “drop-down” fields within the same layout, according to their category.

I am having trouble figuring out how to dynamically add the company name to the correct value list once a check-box is marked. What calculation, if any, should I use to define each value-list? Will I have to create a script?

Currently all the fields are in one table. Should I create other tables? Should I create a new table occurrence with a relationship to the original?

In MySQL and PHP I would have just hard coded this into my PHP file. In FileMaker it looks to be a little more difficult to manipulate the fields/tables.

Any help or insight in this will be greatly appreciated.

I did this in a hurry because I am leaving early today and rushing to get out but let me know if this is what you were kind of looking for.

Valuelist_checkbox.zip

Edited by Guest
Tweak

  • Author
  • Newbies

You are awesome!!! It's exactly what I was looking for... 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.