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

Hi,

I am trying to count the number of checkbox which was checked in one of the field in a related record, but I am not sure what am I doing wrong because instead bring the number of that related record it is showing me the number from all the records. (i.e. if I check a,b,c in one record I would like to be showing as 3

if I check d,e,f it should showing 3 check box has been marked but right now it is showing me that 6 checkbox has been marked)

What I have until now is:

$AddFind = new FX($serverIP,$webCompanionPort);

$AddFind->SetDBData('File.fp7','Layout');

$AddFind->AddDBParam('Survey_ID', $Survey_ID);

$AddFind->AddDBParam('DetailQ1','*');

$AddFindRecord = $AddFind->FMFind();

$FoundCount = $AddFindRecord['foundCount'];

.............

<?php foreach($AddFindRecord['data'] as $SearchKey =>$SearchRecord){ ?>

<?php echo $DetailQ1[] = $SearchRecord['DetailQ1'][0];?>

<?php }?>

Any help will be appreciated.

Thank you!

Edited by Guest

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.