Forums

slashes disapear in image button

alinden 05 Feb, 2014
Hello,

When I use an image button in a custom formcode, the slashes disapear from the image source.

So:
<input name="ter" id="ter" src"/images/ter.png" value="ter" type="image" />

becomes:
<input name="ter" id="ter" src" images ter.png" value="ter" type="image" />

Therefor the image isn't shown..😟

Kind regards, Aron.
GreyHead 07 Feb, 2014
Hi Aron,

If you look at the form entry in the database table with PHPMyAdmin are the slashes there or not? That would establish when they are being lost.

ChronoForms doesn't do anything clever with these as far as I am aware and I haven't seen this problem reported before so my guess is that is has something to do with the PHP or MySQL settings on your server.

Just a thought, please check to see if Magic Quotes are set on in your PHP configuration.

Bob
alinden 07 Feb, 2014
Thanks Bob,

I feel stupid, but I see what i did wrong... I forgot the equal, after src..

Sorry, Aron.
This topic is locked and no more replies can be posted.