Hi, I have just been playing around with my helpdesk and have just come across something pretty important. People can type out html in my forms and it will show up on the ticket thread. When people use iframes and video links and god knows what it stops me from responding to this ticket. This is obviously a huge problem. Is there some sort of asp/java/html script that can stop people from submitting html? Any sort of help is very much appreciated as this is my main concern at the moment. Thanks,
Carl you're a life saver!! Thank you sooo much!! It works a treat!:clapping: Let me know next time you need a favour in web design! I also purchased a DreamWeaver extension so that my dynamic text puts the line spacing back in Once Again thanks!
For future reference there is a good article that I always refer people to, on the mail() function in PHP that is worth a read here: http://www.phpbuilder.com/columns/ian_gilfillan20060412.php3
Might be worth doing it server side as alot of "comment spammers" use automation tools that can bypass some javascript functions. I know this is a little different to your own scenario as they are your customers, it might be worth using regular expressions. PHP = http://ezinearticles.com/?Using-PHP-and-Regular-Expressions-to-Tidy-Up-Variables&id=494445 ASP = http://www.codeproject.com/asp/removehtml.asp asp.net = http://www.developerfusion.co.uk/show/3901/ hope this helps Si