Form layout needs to be designed using ext
Layout, number of elements and type of elements in the page should be built
dynamically - that means the values neeed to be fetched from the server side and
based on certain conditions the fields should be rendered.
Let's say we need to display Student Details & Staff details in the same form based
on the request.
If the request is "Student", then we need to display 10 fields and the field names
and values should be fetched from DB.
If the request is "Staff", then we need to display 20 fields and the field names and
values should be fetched from DB.
Better if it is explained with an example
Thanks in advance