Improve the HTML Form Entry Module (Designer + Schemas)

João Portela

Abstract

This project consists on improving the HTML Form Entry module, by doing two major improvements: Use Schemas in HTML Form Entry module Update the WYSIWYG HTML Form Entry Designer module

Additional Information

Context

This project is a combination of the Update HTMLFormEntry WYSIWYG Editor and the Use Form Schemas in HTML Form Entry projects. My motivation for joining the two projects is because having already worked with the htmlformentry module and created the HTML Form Entry Designer, the learning curve for developing this projects is very short, allowing me to complete this project in the GSOC period.

A limitation of the HTML Form Entry module is that implementers need to have HTML knowledge in order to create their forms. A WYSIWYG Designer integrated with the HTML Form Entry module would add great value to it, possibly making it the tool of choice for creating forms in OpenMRS.
In the summer of 09, a WYSIWYG Designer was developed for the HTML Form Entry module. That module is quite outdated and never got the chance to be fully integrated with the htmlformentry module. Also, there is no documentation regarding adding new functionality to the designer (widgets) and the process could be more straightforward (even automated).

The HTML Form Entry module should not only be seen as an alternative to other Form Entry methods (like InfoPath), but also as a complementary way for creating forms. This can be done by saving the Form Schemas created with the HTML Form Entry module in the OpenMRS Data Model and using the Schemas in the OpenMRS Data Model to generate simple HTML Forms.