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.

When a checkbox doesn't check?

Featured Replies

Hi Gurus,

Struggling with this one.

I have a raw materials table, suppliers table and a join table between them of rawmtrlsupplier.

While in raw materials table, user can add one or more suppliers for a particular raw material, and see this in a related portal. I have that working fine. In the portal of suppliers I have a field "rawmtrls_RAWMTRLSUPPLIER:: _MainSupplierID" with a checkbox set that has a value list of "1". It also has a button applied to it as shown below:

Scripts: Set Default Supplier

Set Error Capture [ On ]

Set Field [ RawMtrls::_kf_DefaultSupplierID; rawmtrls_rawmtrlsupplier_SUPPLIER::__kp_SupplierID ]

Refresh Window

This works fine and I get the supplier ID that I want for other uses, but the issue I'm having is the checkbox does not display the checkmark. I do have a fill and line on the checkbox so I know that is not the issue.

post-71510-0-41039500-1312565136_thumb.p

What am I missing here?

if the field is a button, you cannot enter it - so the script runs, but the field is not modified. I don't think you need this field anyway - you can use conditional formatting to indicate the main supplier.

  • Author

OK I finally figured it out! For those who read this thread looking for a similar answer it is this:

I needed to add a calculation to the RAWMTRLSUPPLIER:: _MainSupplierID field.

The calc is this:

If (rawmtrls_rawmtrlsupplier_SUPPLIER::__kp_SupplierID = RawMtrls::_kf_DefaultSupplierID; 1; 0)

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.