View Full Version : [CLOSED] TextField input: BADRESPONSE: missing ) in parenthetical

Mar 13, 2013, 9:55 PM
Testing user input value for a textfield I got a bad response submitting the following value "sdas<dd<>"
it is a field note and it should be possible to enter "<" and ">" characters
how can I avoid it ?

<ext:Column ID="Column16" runat="server" Text="Note 1" Width="200" DataIndex="USER_NOTE_1">
<ext:TextField ID="TextField6" runat="server" />

Thanks in advance

Mar 13, 2013, 10:14 PM

I think you have this problem: http://stackoverflow.com/questions/81991/

To solve this problem you can also use Ext.htmlEncode and Ext.htmlDecode: http://docs.sencha.com/ext-js/4-1/#!/api/Ext.String-method-htmlEncode and http://docs.sencha.com/ext-js/4-1/#!/api/Ext.String-method-htmlDecode