Form elements or links no longer works with events

Frequently Asked Questions about WYSIWYG Web Builder

Form elements or links no longer works with events

Postby Pablo » Tue Mar 22, 2011 8:41 am

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;
User avatar
Pablo
Site Admin
 
Posts: 18704
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe

Return to WYSIWYG Web Builder FAQ

Who is online

Users browsing this forum: No registered users and 1 guest