Form elements or links no longer works with events
Posted: Sat Jun 25, 2011 12:00 pm
When you implement an event for an object then this will overwrite 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:
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;