Jump to content
  • 0

How to Implement a Multi-Select Listbox Auto-Filled from a Database Table on Form Load?


MarkMayhrai

Question

Hi everyone,

I'm working on a web application where I need a multi-select listbox in a new submission form. The listbox should automatically populate with values from a database table when the form loads.

Here's what I'm aiming to achieve:

  • The listbox should be pre-filled with data fetched from a specified table in my database.
  • Users should be able to select multiple items from this listbox.

I've found that setting the field as type List: String allows for multi-select, but the values seem limited to what's available when the table is designed. I prefer having these values come dynamically from a table to accommodate changes.

Any guidance or code snippets would be greatly appreciated!

Thanks in advance for your help!

Best regards,
Mark Mayhrai

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

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...