ad a javascriptcode to a field end run it.

7 posts by 4 authors in: Forums > CMS Builder
Last Post: June 9, 2012   (RSS)

By Maurice - April 9, 2011

Hi all,

a created e textbox and I want to be able to place a javascript code in it but it dus not run when i publish can it be done ???

code like

<script type="text/javascript" code in here</script>

Greetz M
-------------------------------------------

Dropmonkey.nl

Re: [gkornbluth] ad a javascriptcode to a field end run it.

By Maurice - April 13, 2011

that was just the post sorry

but the code is a affiliate code and thats most of the time Javascript.

but sometimes is works and sometimes it wont.

Greetz Maurice
-------------------------------------------

Dropmonkey.nl

Re: [Maurice] ad a javascriptcode to a field end run it.

By Maurice - April 13, 2011

Hi all,

I found the problem cmsb ads the <br> html code inside the textbox.

how can i prevent this

thnx
-------------------------------------------

Dropmonkey.nl

Re: [Maurice] ad a javascriptcode to a field end run it.

By Dave - April 13, 2011

Hi Maurice,

In the field editor under Advanced Options check this:
[X] Disable auto-formatting (don't add break tags to content)

Note that you'll need to go back and update any fields that have already been saved with break tags.

Hope that helps!
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] ad a javascriptcode to a field end run it.

By Maurice - April 13, 2011

thnx Dave.

cool
-------------------------------------------

Dropmonkey.nl

Re: [Dave] ad a javascriptcode to a field end run it.

By Mikey - June 9, 2012

Just what I was looking for! Thanks Dave!