On Thu, May 15, 2008 at 2:46 AM, Biji Sathyan
<
[hidden email]> wrote:
> I want to create Clear button which clears all the entered data.
>
> Can anyone help me in this?
If you want to remove the content of all the elements in your
instance, you could write something like this in your "reset" trigger:
<xforms:action while="//*[empty(*) and string() != '']" ev:event="DOMActivate">
<xforms:setvalue ref="."/>
</xforms:action>
Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog:
http://www.orbeon.com/blog/Personal Blog:
http://avernet.blogspot.com/Twitter -
http://twitter.com/avernet--
You receive this message as a subscriber of the
[hidden email] mailing list.
To unsubscribe: mailto:
[hidden email]
For general help: mailto:
[hidden email]?subject=help
OW2 mailing lists service home page:
http://www.ow2.org/wws