I know this has been asked for before,
http://www.w3.org/TR/xforms20/#The_function_Element, and I just want to add
my vote for this.
I've recently been struggling with helping a customer with a form that has a
repeating table that contains a number of fields that include start date,
start time, end date, end time (for patient ventilation) and the type of
ventilation (manual or machine).
They need to include a calculated column that contains the length of time on
ventilation and the value of this has different rounding rules depending on
the type of ventilation. In addition to this they need to sum the times for
a total at the bottom and again it can be more complex than just a simple
addition.
This is very hard to do in a single calculated value expression
(particularly since this is also an Orbeon 3.9 site!)
Having the ability to define your own functions in a forms model and then
use them would be great. Even better if you could create a function library
in a library template to include in multiple forms. Support for javascript
for the function body would be a bonus, particularly if this support works
server side as well.
thanks
brian...
--
Sent from:
http://discuss.orbeon.com/--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
[hidden email].
To post to this group, send email to
[hidden email].