PDA

View Full Version : Escaping single quotes in an Ext form?



SSJSparky
15 Oct 2007, 3:17 AM
Hi all,

I know this may well be a stupid question but I can't seem to find anything on it in the forums.

When saving an ext form using the form.submit, if there is a single quote in a field it causes the form to crash and burn. I know there will most likely be a function to prevent this but I can't seem to hunt it down, can anyone enlighten me? Many Thanks.

SSJSparky
15 Oct 2007, 12:07 PM
Hey all,

I'm sure this problem has a really simple answer which I'm just missing, isn't there anyone out there who can give me a bit of guidance?

devnull
15 Oct 2007, 12:21 PM
ive tested forms with various combinations of quotes and such and have never had a problem. do you have some code of your own in the submit handler that could be blowing up?