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.

HTML checkboxes to FM validation problem

Featured Replies

Hello everyone,

I am working on a real-time sign-in system and have a series of checkboxes in CDML/HTML that work and calculate as they should on the website...except that it doesn't check the boxes in the FM database so there is no way to validate to the web user that the box is checked for future changes in FM as they are all blank. That I find really really weird. Does anyone have any ideas how I could get the boxes in FM to be checked or unchecked??

  • Author

I have a solvable workabout to solve this problem...but it still doesn't check the boxes in FM....but it does validate if anyone is having the same problems. I had two different variables...one to just store the X in the checkbox (_8amMonday) and the other variable (hour_checkedMonday8am ) to calculate the time as 1 hour of the day.

The validation CDML is:

<input type="checkbox" name="_8amMonday" value="1"

[fmp-if:hour_checkedMonday8am .eq. 1]checked[/fmp-if]>

<input type="hidden" name="_8amMonday">

I hope I helped anyone with a similar problem. I'd like to hear from anyone who got the box to check in FM. Thanks!

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.