How to dynamically add hidden field to a form?

  1. sanjoyroy
    sanjoyroy
    Code:
    form.el.createChild({tag:'input', type:'hidden', name:'nodeId', value: '1'});
  2. dawesi
    dawesi
    you could of course simply add a hidden form field type to the form.
Results 1 to 2 of 2