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.

value list items to append to field content

Featured Replies

Hi folks,

I want to set up a value list, so that when I select items on the list, it appends to other items in the field, instead of that item being exclusive for that field.

e.g. value list contains (VERY simple example here);

Red

Blue

Hat,

Shoes,

From this list, I want to be able to sequentially select certain items that build on each other, such that my field might, after the selections, read something like;

"Red Shoes, Blue Hat,"

I've seen this functionality in an ipad program (Handbase) and hoped I could replicate it here.

Chris

Edited by Guest

I'd suggest you use two fields and two value lists.

You're just talking about a checkbox field; and a second calc field, calculation:

substitute( theCheckboxField; ¶; ", ")

  • Author

Thanks guys,

The checkbox option sounds good - but will need to learn a bit more about that aspect of scripting first. Might keep that one for later tho.

Chris

  • Author

You're just talking about a checkbox field; and a second calc field, calculation:

substitute( theCheckboxField; ¶; ", ")

So just to confirm, if I have a bunch of checkboxes where each corresponds to a phrase of text, that when each is selected, the corresponding phrase is inserted into a designated field, and builds upon (appends) text inserted from the selection of a previous button.

The goal would be to have a bunch of pre-typed phrases/statements, that when their corresponding button is checked, that text is inserted into a (text) field, to build a paragraph of text.

t when each is selected, the corresponding phrase is inserted into a designated field, and builds upon (appends) text inserted from the selection of a previous button.

Approximately, yes. To better understand the issue, place another instance of the same field on the layout and format it as edit box. Check and uncheck items in the checkbox field and observe the actual content of the field.

  • Author

Thankyou. Will give it a go.

Just to check - what is the 'carriage return' symbol in the script for?

It's a calculation, not a script. It turns:

"Red

Blue

Hat

Shoes"

into:

"Red, Blue, Hat, Shoes"

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.