Hi,
I have the following problem:
I have a FormPanel with a textarea inside. The "value" of the textarea is taken from a PHP variable with is echoed into the value. If the variable is a single line without any special chars, like enter, ' or " it works perfectly. Whenever the user enters an extra line the form never shows up.
Here is a snippet:
Code:
items: [{
xtype: 'textarea',
fieldLabel: 'Area content',
name: 'cpg_area_content,
width: '500',
height: '300',
value: '<?=$cpg_area_content?>'
}]
How can I get the value to come from the PHP variable? I must be missing something here.
Thanks.