data being changed from form to database

rw1

Moderator
hello,

with element type of 'field' (varchar255, latin1_swedish_ci), data is submitted via the form as:
Code:
<a class='classname' href="https://www.youtube-nocookie.com/embed/xxxxxxxx?rel=0&amp;wmode=transparent">link</a>

and then in the database it is appearing as:
Code:
<a class="'classname' href=https://www.youtube-nocookie.com/embed/xxxxxxxx?rel=0&wmode=transparent">link</a>

so it is:

- adding a " before the classname
- removing a " before the url
- removing &amp; after rel=0

the reason i am submitting the data in this format with this element type is so that i can use colorbox to pop up the link.

can anyone please tell me how i can get the data to remain the same in the database as when it is submitted?

thank you.
 
Check your "Textfilter" settings in Site/Global Config.
With "No filters" I can find your string unchanged in my database.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top