Populate form fields based on dropdown selection
I have a requirement, There are multiple vendors ( around 100 and its increasing ) and each vendors a unique combinations of form fields should populate.
Basically in the dispatcher the vendors are getting selected from dropdown and then based on each vendor the form fields will vary . These data (Vendor information and related information ) should get from backend while selecting from the dropdown (the dropdown of vendor selection).
My concern is how can I map the response from the backend to the component for different combination of form fields based on the selected dropdown (Vendor). The order of the form fields may vary based on the selected vendor. So its dynamic
Instance :AEMasCS , Not Using adaptive forms only core component forms .
Thanks,