We implemented a form builder via PHP that handles which fields should be rendered at runtime based on which fields the user has access to. Fields are configured via JSON.