This site has been archived. Please visit help.fulcrumapp.com for our new support documentation and contact information.

How to label a feature with the number of items in a repeatable field

kerryleith's Avatar

kerryleith

25 Sep, 2016 09:19 PM

Hi,

I have an app in which we would like to label items with the number of items in a repeatable field. Looking through the documentation, it looks like:
REPEATABLENUMBER($exposures, 'exposure_location')
should work, and :
REPEATABLENUMBER($exposure_location)
works within the repeatable field, however, this can't be referenced in the record title. Am I doing something wrong, or is this vust not possible?

Thanks

  1. 1 Posted by Bryan McBride on 26 Sep, 2016 02:43 PM

    Bryan McBride's Avatar
  2. 2 Posted by kerryleith on 26 Sep, 2016 10:20 PM

    kerryleith's Avatar

    Thanks!

    In the end I used:

     if ($exposures == null){
       SETRESULT(FORMAT('%d exposures', 0));
     } else {
       SETRESULT(FORMAT('%d exposures',$exposures.length));
     }

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac