Actually, did you try to use onClick?  I think you'd be surprised that 
these event handlers work.  It's a case of the docs lagging behind the code.

Anyways, onSubmit() and onReset() should be supported and missing in the 
current code.  Could you file a ticket regarding these two additional 
event handler?

Until it's fixed, you can always use use the "x" namespace to get it to 
work:

<form:form x:onSubmit="javascriptHere()">

You can read up on the "x" namespace options in the documentation.

.Peter

Jorge Loyo said the following on 09/02/2009 09:42 AM:
> I am giving the custom tags a go for the first time and so far I like
> it a lot. However, I noticed on the documentation the following...
>
> "Event attribute (onClick, etc.) are not supported because they are
> not part of the HTML specification and cannot be bound to a form
> element."
>
> My only problem is that all my input forms use the "onSubmit" to
> validate with javascript the inputs... Will this attribute never be
> included?
>
> I've been using the trunk to develop my app and it is pretty stable...
> Loving it.
> >
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to Mach-II for CFML list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/
-~----------~----~----~----~------~----~------~--~---

Reply via email to