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.

I feel I am being misunderstood on my ?

Featured Replies

I have 48 check boxes each one is its own field. I have set them up to all be checkboxes with value on or off. But I have also made them all buttons running its very own very specific Script. Here is an example

() January

Ok when you click the check box above it is suppose to check it and start this script

Go to Layout ["Month Setup"(MonthAdvopt)]

New Window [Name: "jan05"; Heaight: 300; Width: 240; Top: 50; left:500)]

Go to Layout ["Jan05"(monthAdvopt)]

Preform Script ["Hide Status area"]

Set Field [Monthadvopt::month transfer; "january"]

Set Field [Monthadvopt::Year transfer; "2005"]

copy [select; monthadvopt::CustID Transfer]

Paste [select; Monthadvopt::CustID Jan05]

However It just runs script and does not mark the box at all. Here is next box same effect.

() February

Go to Layout ["Month Setup"(MonthAdvopt)]

New Window [Name: "Feb05"; Heaight: 300; Width: 240; Top: 50; left:500)]

Go to Layout ["Feb05"(monthAdvopt)]

Preform Script ["Hide Status area"]

Set Field [Monthadvopt::month transfer; "February"]

Set Field [Monthadvopt::Year transfer; "2005"]

copy [select; monthadvopt::CustID Transfer]

Paste [select; Monthadvopt::CustID Feb05]

And I have 48 of these to last till the year 2008.

What I need is a script or a way to check the boxes before it runs the script.

Hopefully you got enough info to understand what I am looking for now.

Set Field[MyJanuaryCheckBox; "January"]

assuming the Value List for the January Checkbox is "January".

  • Author

Ok once again I think I am confusing you the check box is either on or off not a value list at all. I mean do not get me wrong there are 48 value lists 1 for each checkbox but each checkbox is just that a (checkbox) on (x) or off () HOw do I get the check box to be checked. Ahh I think you may have hit something here do I have to specify the value list for the checkbox to be checked and if the answer is yes how do I script that function so I can do it 48 times.

I think I answered this once before. Your check has a vaule of 1 or 0. These are Boolean numbers for true or false. Use the "Not" operator, i.e., Set Field [Field; not Field] will toggle the value between 0 & 1. If it is 0 the result is 1, if it is 1 the result is 0.

  • Author

I tried this am I not understanding what you mean

Set Field [monthadvopt::cbjan05; not monthadvopt::cbjan05]

And it did not work

Take a look at the sample file. I have made the button red outline and placed it over the checkbox. Clicking on the button runs the one line script toggle. Note there are really 2 checkboxes but I made the field small to show only the one of interest.

  • Author

you are the greatest man works like a charm!!!

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.