Page 1 of 1

Form elements or links no longer works with events

Posted: Tue Mar 22, 2011 8:41 am
by Pablo
When you implement an event for an object then this will override the default behavior for that event.
So if you implement the 'onclick' event for a submit button, then it will no longer execute the 'onsubmit' action, because it assumes that you want to implement the action yourself.

If you still want to enable default behavior for an event then follow these steps:
1) Add the same event again and select action -> javascript function.
2) In the JavaScript field enter:

Code: Select all

return true;