Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

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