Form elements or links no longer works with events

Frequently Asked Questions about WYSIWYG Web Builder
Locked
User avatar
Pablo
 
Posts: 22472
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Form elements or links no longer works with events

Post by Pablo »

When you implement an event for an object then this will override the default behavior for that event.
For example, 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 -> run javascript.
2) In the JavaScript field enter:

Code: Select all

return true;
Locked