Dynamically generate a form by adding fields from a schema.