AllowBlank false not works
Hi All,
I want to add AllowBlank for next form:
<script type="text/javascript">CQ.Util.build({xtype: 'panel',border: false,cls: 'entry-fields-wrap',layout: 'form',defaults: { hideLabel: true},items: [ {xtype: 'textfield', defaultValue: 'Entry title', cls: 'title', name: 'title', fieldLabel: 'Entry Title', hideLabel: false, width: '100%' }, {xtype: 'textfield', defaultValue: 'Browser title', cls: 'browserTitle', name: 'browserTitle', fieldLabel: 'Browser Title', hideLabel: false, fieldDescription: 'This title appears in the top bar of the browser window itself', width: '100%' }, {xtype: 'pathfield', rootPath: '/content/', cls: 'titleImage', name: 'titleImage', fieldLabel: 'Title Image', hideLabel: false, width: '100%', allowBlank: false, }, {xtype: 'button', 'text': 'Save Entry','handler': function() {CQ.social.blog.Util.validateEntryForm('${entryForm.id @ context="unsafe"}'); } } ],'renderTo': '${entryForm.id @ context="unsafe"}_fields_wrap' });</script>
But when image field is empty and i click on Save Entry button - Entry will be created - its wrong
Please help - This is the standard library - what can I do to make it work?

