Jump to content
  • 0

filtered dropdown options


Messy

Question

Say I have 3 tables; Users, accounts, assets.

 

A user is completely unique and has a one to many relationship with Accounts.

Accounts has a one to many relationship with Assets.

 

I want to create a form for adding new assets. The person needs to select which account the asset belongs to. Given multiple users, each with numerous accounts - simply having a full drop down list of all the possible accounts is not feasible.

How do I create a form with a "user" dropdown where the "accounts" dropdown only shows values linked to the selected "user"? Thus filtering the possible accounts to just the ones belonging to a specific user?

 

 

I have played with rules but cant seem to find a way.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
21 hours ago, Messy said:

Say I have 3 tables; Users, accounts, assets.

 

A user is completely unique and has a one to many relationship with Accounts.

Accounts has a one to many relationship with Assets.

 

I want to create a form for adding new assets. The person needs to select which account the asset belongs to. Given multiple users, each with numerous accounts - simply having a full drop down list of all the possible accounts is not feasible.

How do I create a form with a "user" dropdown where the "accounts" dropdown only shows values linked to the selected "user"? Thus filtering the possible accounts to just the ones belonging to a specific user?

 

 

I have played with rules but cant seem to find a way.

Hi Messy,

You may use cascading elements, this will let you filter accounts, associated with a user. Please find more details here

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...