title: AEM custom widget:: dynamically adding fieldLabel and fieldDescription
body: <p>I have created a custom widget. Below given is the code snippet</p>
  
  <pre><code>this.word = new CQ.Ext.form.TextField({
    fieldLabel: "Word",
    fieldDescription: "Please enter a word in the format: Word",
    allowBlank: false,
    autoWidth: false,
   // regex: /^[A-Z][a-zA-Z\s]+$/,
   // regexText: 'Enter only alphabets here.First character has to be an alphabet in uppercase.',
    listeners: {
      change: {
        scope: this,
        fn: this.updateHidden
      }
    }
  });
  </code></pre>
  
  <p>The widget works fine. And I have another requirements which is similar to this in terms of functionality. The only thing different are the values of fieldLabel and fieldDescription. I don't think creating another widget for this would be a good idea. Is there any way I can make these two dynamic.</p>
  
  <p>FYI, I am using AEM 6.</p>
  
  <p>Thanks in advance</p>