Results 1 to 2 of 2

Thread: New Ext.form.Panel by dom form

  1. #1
    Sencha User
    Join Date
    Apr 2010
    Posts
    1
    Vote Rating
    0
      0  

    Question Unanswered: New Ext.form.Panel by dom form

    I am trying to create a Basic Form from an existing markup. I did that in ExtJS 3.3 easily this way:
    var formEl = document.createElement('form');

    ........

    var formSubmit = new Ext.form.BasicForm(formEl, {
    method:'POST',
    fileUpload:true
    });
    It worked as Ext 3.3 Basic Form used to accept form id or element DOM as first param. But in Ext 4.0, there is no such option. I need to submit this Basic Form later.Can you tell me: is there any other option in ExtJS 4 to do this?

  2. #2
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    1,099
    Answers
    113
    Vote Rating
    100
      0  

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •