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.

I need parts of a series to be placed in text

Featured Replies

Hello

I have a calc field called. (colors) and there is a list of codes.

1=red , 2 =blue , 3+ yellow etc.

what happens when I want to use 2 or more colors.

what would then be the calculation if the answer which triggers the calc were as follows'

1, 3

and the colors then would be red and yellow

or 1 would just be "red"

and 1&2 would just be red and blue

I am not sure how to write this and furthermore I would like the colors bold and the actual color I am naming. Is that possible.

Thanks

DAVE

I am not sure I understand the question. Could you rephrase it and/or post a sample file demonstrating it?

  • Author

Sure I have a database which I have to automate text answers but sometimes there is more than one answer. So I wanted to write a script that would respond to whatever I put in a field called (codes).

If I put the number 1 in the (codes) field then the field colors would say "RED"

If I put the number 2 in the (codes) field then the field colors would say "Blue"

If I put the number 3 in the (codes) field then the field colors would say "yellow"

But if I have the numbers 1 and 3 in the field codes , the field colors should say RED, YELLOW

or if I have the numbers 1,2, 3, in the field (Codes) , then in the field colors it should display RED, BLUE , YELLOW

I also wanted the words to be the colors they were naming. So the word RED would be RED and the word Blue would be blue and yellow would be yellow, But Black would be bold.

I would those things to happen from a script.

Thanks

DAVE

See how the attachment works for you. This seems to require a script, unfortunately, because value lists do not maintain field formatting info.

CodeColors.zip

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.