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.

Character showed to signal active vs inactive selection

Featured Replies

By default (inactive) my checkbox are grey. When clicking on a checkbox the block is filled in green with a black coloured X demonstrating a selection has been made. I would like to replace the X by something else. 

 

For example, having the block in grey for inactive and everything in green (no black) X would be just perfect. I have been using the inspector with many combination and have not been successful. Could someone guide me in where to look to fix this issue I am having?

 

Thanks!

Daniel

Checkbox - selection.tiff

Are you talking about the aesthetics of this? Or the actual data value used to say that the checkbox is active or inactive?

Could someone guide me in where to look to fix this issue I am having?

 

Try this one...

customChecks.zip

  • Author

Thanks Raybaudi - it worked.

ggt667 - aesthetics

 

I also created a script which loops through a found set of records assigning 0 or 1 values to facilitate when having multiple rows. I've included the not Get ( ActiveFieldContents ) function and it worked with a 1.

 

However, when running the script with a 0 value to set the flag as inactive it always stays green. There are no X in the middle but does not turn grey. Is this the proper way of doing this when lopping throughout a found set of records ?

 

 

Your help is GREATLY appreciated.

ONOFF.pdf

Could you explain this one:

 

Replace with calculation: Get(ScriptParameter) & not Get ( ActiveFieldContents )

 

Which is the ScriptParameter content?

 

Also: Replace Field Contents doen't need a Loop, it replace the value in all found records.

 

Something like this:

 

Set Error Capture [ On ]
Perform Find [
Specified Find Requests: Find Records; Criteria: CommandeOrdrePassage::N°Facture: “=$FactureNo” ][ Restore ]
If [
not Get(LastError) ]

Replace Field Contents [ CommandeOrdrePassage::commande_iPad; Replace with calculation: not CommandeOrdrePassage::commande ]

End If
Go to Layout [
original layout ]

  • Author

I was happy to see the get(ActiveFieldContent) working when clicking checkbox individually.

Since there are situations where they're are many checkbox to activate or desactivate at the same time, I thought using a script would be better.

I then wrote a script where I pass a value of 1 for active and a 0 for inactive. I've added the no get(ActiveFieldContent) just as a try.

The expected result is to have all checkbox turning green when active and grey when inactive with one click only.

Thanks for noticing I did not need a loop.

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.