Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Populating Form Table Based on Dropdown Selected from Database

Avatar

Level 2

Dear,

Created a form containing a dropdown list and a table. The dropdown is populated from a database field. Now I want to populate the Form table from database (selected fields) based on the dropdown selected. Also, the form should allow to select more than one dropdown item; but one at a time. The record corresponding to the dropdown item selected must appended after the last filled row in the Form table. Further, the dropdown item once selected cannot be selected again. Kindly help in solving by providing appropriate JavaScript code. The database is MySQL database.

Rgds,

S.Banerjee

0 Replies