Form elements or links no longer works with events

Frequently Asked Questions about Quick 'n Easy Web Builder
Locked
User avatar
Pablo
Site Admin
Posts: 2628
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Form elements or links no longer works with events

Post by Pablo » 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:

Code: Select all

return true;

Locked

Who is online

Users browsing this forum: No registered users and 2 guests