Add datatype drop downs to form builder
We need to add datatypes to the form fields for a number of reasons, mainly:
- to map incoming entities extracted from the submission (eg via AI parsing of a manuscript) to form fields to pre-populate the forms
- to map the data in the form fields to the outgoing formats
What I dont want is to build multiple different types of form fields each hard coded and related to a specific JATS attribute. We need to build a drop down that is part of the form element config that allows users to choose the datatype. This dropdown is to be pre-populated with attribute types (eg JATS elements) but also can be identified by a user-defined entry.
I recommend we do this sooner rather than later so we can start planning to use AI to pre-populate the submission from.