modify xform on publish

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

modify xform on publish

kevindesilva
Hi

Is their any elegant way of modifying a form built in form builder when the publish button is activated.

I need to include some additional controls not available within Form Builder before publishing.

Any help will be appreciated.

THanks

Kevin
DL
Reply | Threaded
Open this post in threaded view
|

Re: modify xform on publish

DL
I have the same interest (it seems to be a common question in the forum) and I posted a similar customisation question here ..

http://orbeon-forms-ops-users.24843.n4.nabble.com/extending-formbuilder-tutorials-td4655153.html

Also in Form Builder Tool Box you can go to Advanced > Edit Source Code and add custom code there and Apply.   Does this meet your requirement?

http://wiki.orbeon.com/forms/doc/developer-guide/xbl-components-guide

I've found DOM Inspector and Web Developer and Firebug Add-Ons in Firefox to be useful in inspecting the layout of xforms controls.   After installing go to Firefox > Tools > Web Developer > Inspect and then hover over the controls in browser view

Another approach is to intercept HTML code post Publication stage (after HTML is generated).

I'm experimenting with adding jQuery controls.