Forms - save parameters and Forms and letters respect a parameters type

I was wondering given a major move toward using JRXML for most forms and reports. IF we should consider allowing a form to hold basic parameters.  

You would not save the document just the values in the parameters and then repopulate the form each time its viewed.    I suspect this would decrease the usage of letters.  

Secondly I had a thought that JRXML forms and templates should use the data type of the parameter to design the popup box to be more intuitive.  We already have date boxes and check boxes for boolean and dates, however, I was thinking a field that validates integers/floats/doubles vs strings, there may be the ability to validate these datatypes prior to movement to the form to potentially save from form/letter errors.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Re: Forms - save parameters and Forms and letters respect a ...

It would certainly decrease the storage requirements if they were used in place of letters.

Templates using JRXML could have limited parameter type information, but if they were .doc/.odt, only strings would be supported.

Care would be need to be taken updating templates; any change in parameters would prevent the correct generation of historical forms.

Re: Forms - save parameters and Forms and letters respect a ...

Re: Forms - save parameters and Forms and letters respect a ...

Perhaps this is where template versioning could be used?
 

Regards
 
Ben 
OpenVPMS Installer and Helper 
Ph: +61423044823 
Email: info[at]charltonit.com[dot]au
Syndicate content