|
This post was updated on .
Is there any wiki tutorial/advice on adding JQuery scripts into
an xform element?
If we look at /orbeon/xforms-bookcast/ as an example/template ...
I want to add into each bookcast document (book) a JQuery
array containing an array of rating values for visitors reading the form.
The current bookcast example is one integer value per element.
Where does the JQuery script actually go in view.xhtml?
I'm hoping that adding arrays into xform elements will add another
dimension to the xform and can be used
to analyse xform instance visitor stats and to create charts.
[Later thoughts added ..]
Perhaps one solution is to convert an array into csv format
and store csv as hidden text element in xform.
So each form submission would include ..
- add rating variable to JQuery array
- convert array to csv format
- submit xform with hidden element in eXist DB
unless there is some way of storing arrays directly in (hidden) xform elements?
|