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.

Using Script to select multiple values in onefield

Featured Replies

  • Newbies

Hi I am using the scriptmaker in FileMaker 5.5 and I've run into a little bit of a problem. I have several fields within my layout which consist of numerous checkboxes. I want to set my script to be able to select multiple values within each of these fields but for some reason it will only let me select one. If anyone has some advice I would greatly appreciate it.

Thanks smile.gif

Checkboxes don't really have a different kind of data from other fields' data. Suppose you have a text field which uses day-of-week check-boxes, and you check off three values. It ends up with data that looks like this if you change the field behavior to normal:

Monday

Tuesday

Thursday

If you want your script to enter data that works seamlessly with checkbox entry fields, you need it to set the field by concatenating the chosen values with a paragraph-mark between them, like this:

"Monday"&"

Howdy. And if you want to see E's explanation for yourself, make a new layout or drag the field out to the existing layout without the checkbox formatting... you'll see... just make sure it's tall enough to see the contents.

--ST

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.