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.

Two Value Lists, one field

Featured Replies

Greetings All,

I have a need to populate a single field from either one of two value lists. (I did not want to use one dynamic drop down list)

Are there any tricks anyone has used to achieve this effect. Here's how the layout would look:

Field |____________| button to drop list 1 button to drop list 2

I can make the two buttons above the same field as the destination, and attach the different value lists to each one, but I can't think of a way to make it look visually appealing and intuitive. It would then dispaly the same choice 3 times.

Any help would be greatly appreciated as always.

-Frank

I don't know if this will work, but give it a try:

On top of your "button to drop list 1", place a copy of your target field, making sure it is transparent. Format it to display value list 1. On top of "button to drop list 2", place another copy of your target field, transparent, formatted to display value list 2. Since the fields are transparent (no borders, btw), what your users will see is what you described. When they click on what they think is one of the buttons, they'll actually be entering the "invisible" target field copy and will see one or the other of the value lists depending on which button they think they've selected. If your buttons actually have scripts attached to them, we'll have to think of some other solution as the button(s) will never be clicked because there's an invisible field in the way.

Have a look to this tip file

MultipleValueLists

It also gives access to different related lists, which you won't bother with.

You could just stack the fields one over the other and have the exit script pick the correct value list.

  • Author

John,

Thanks for the quick reply.

I sort of have it working...not quite perfect. What do you mean by transparant?

Now I have a darn tab order problem! I need to find a way to prevent the list that does not get selected from dropping down.

Is there any way to exclude a field from the tab order?

Any tips?

-Frank

  • Author

Thanks Ugo,

Upon initial checking, it works, but is kind of slow, and not quite the effect I wanted to achieve. I am going to play around with it for a while...

-Frank

Franck,

Here's another version where the final previously selected name disappears from the list.

The Pause is set to 1 sec, and it would naturally be quicker as it wouldn't require the script to check which "relationship" to bring back.

Also, the script could be launched by another button at right of the field if needed.

Create new records to see the message brought into the first field.

It was auto-entered first, it's now a new field.

MultipleVList.zip

  • Author

Thanks again.

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.