Right now, if you have the htmlformentry module installed, it creates a separate set of links on the Administration pages for managing htmlforms. The same is true for xforms. This is not really ideal, or intuitive.
My proposal is as follows:
- If no form entry modules are installed, the "Forms" section under Administration should not appear. It should only appear if one or more Form Entry modules are started.
- Manage Forms should always be an option, and it should list each form that exists. The columns in this list should be standardized on "name, "version", "build", "type" (html, infopath, xform), "creator/dateCreated", but the specifics of each column should be provided via an extension point for each form entry modules to customize. The extension point should also allow modules to specify the "createPage", "editPage" and "viewPage" that are applicable.
- Creating a new Form should first take the user into a common page that allows entry of common Form metadata - Name, Description, Version, EncounterType, etc, as well as "Type". Upon submission, the UI will create the base Form object and then redirect to the appropriate "Create" page for the given "Type".
- Any specific functionality needed by one of the form entry modules - schema designers, xml editors, schema viewers, upload utilities, etc. should be made available either within the view / edit / create pages that it supplies, or should be added directly as a link in the Forms section of the Admin page.
Thoughts on this?