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.

Featured Replies

I'm trying to accomplish a script to select/unselect all my check boxes at once.

I have all months, sometimes I need to ckech just a few but some others I'll need to check the whole year and I'd preffer to check only one box than twelve, lol.

Any advice of how to do it?

Thank you.

Remember a checkbox field is just text field with a return-separated list of the checked boxes. So to check all boxes, all you need to do is

Set Field[YourCheckboxField; "January¶February¶March¶April¶May¶June¶July¶August¶September¶October¶November¶December"]

To unselect all,

SetField[YourCheckboxField; ""]

  • Author

Thank you doughemi,

I'm working on that.

Set Field [ValueListItems ( Get ( FileName ) ; "Months" )]

But doesn't work, and I don't know what I'm doing wrong.

  • Author

Done it!!!!!!! :shocked:

First didn't work well because my file name had an "unusual name?" (i.e. filename v.10.fp7). Curious, get (filename) worked well but valuelistitem didn't.

Set Field [ If ( IsEmpty ( TABLE::Field ) ; ValueListItems ( Get ( FileName ) ; "ValueListName" ) ; "" ).

Thanks for your help.

Actually, it's the Get( filename ) function that broke. It stops at the first period in the name.

And your last calc STILL doesn't show a field being set ...

There are two parts to a set field ... The field to set and then the calculation. :^)

  • Author

Sorry laretta, just simplyfied

Set Field [ table::field ; If ( IsEmpty ( TABLE::Field ) ; ValueListItems ( Get ( FileName ) ; "ValueListName" ) ; "" ).

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.