Form onXYZ events being removed in Global Content Blocks?
Posted: Fri Dec 26, 2008 6:26 pm
Hey peeps,
I have a global content block setup with a form item:
However, when I paste that into a global content block, it strips out the onFocus and onBlur events. I tried changing them to "javascript:clearText(this);" in the HTML edit source area of the content block edit page, but as soon as I hit Update and get back to the WYSIWIG, the edits are gone. I verify this by entering the events, hitting Update, then hitting the HTML source button and seeing the code is not there anymore.
The events just clear the textbox value to ''.
Any idea what's going on with this? Kind of a pain
- Josh
I have a global content block setup with a form item:
Code: Select all
<div id="info_item">
<input class="textbox" name="email" type="text" value="ENTER EMAIL ADDRESS FOR UPDATES" onFocus="clearText(this)" onBlur="clearText(this)" />
<input class="submit" name="email_submit" type="image" src="images/main/email_submit.gif" />
</div>
The events just clear the textbox value to ''.
Any idea what's going on with this? Kind of a pain

- Josh