Cactiveform Returned Values With Javascript Validation Turned Off

Hi,

I’ve been using CActiveForm in my application with JavaScript validation turned on. I then tested the form with it off and entered some html in a text field which wasn’t converted to it’s html equivalent when the form was echoed back with errors … there must be a way to prevent this happening?

Many thanks

The error managment does not echo the text insterted, are you sure you did anything custom?

Hi,

Many thanks for getting back - sorry - my error. When I inspected the element in the (Chrome) console it appeared that the HTML was not converted; when you view the page source it is - many apologies.