1. #1
    Ext JS Premium Member
    Join Date
    Nov 2010
    Posts
    82
    Vote Rating
    0
    Syed Huda is on a distinguished road

      0  

    Exclamation Form submits in Firefox, NOT IE

    Form submits in Firefox, NOT IE


    Could someone help, I have a form that is being submitted, works in Firefox NOT internet Explorer.

    Here's the code that submits:

    Code:
    resultsgridForm.getEl().dom.submit();
    Here's the basic form:

    Code:
    var resultsgridForm = new Ext.BasicForm(
                Ext.get("resultsgrid"),
                {
                }
        );

    Here's the FORM in the JSP being referenced above "resultsgrid":

    Code:
    <form id="resultsgrid" action="/recoveryapp//rsGetScore.rdp?" method="get" style="display:none">
            <input type="text" id="scenario" name="scenario" />
            <input type="text" id="scenarioFinancialData" name="scenarioFinancialData" />
            <input type="submit" value="Submit" />
        </form>

  2. #2
    Ext User
    Join Date
    Dec 2010
    Posts
    10
    Vote Rating
    0
    Danek1313 is on a distinguished road

      0  

    Default


    I've never used Ext.get before, but I have a feeling your creation of the Ext.BasicForm isn't correct. Should you try Ext.getCmp('resultsgrid')? (Assuming resultsgrid is the id of your results grid)

    I highly recommend looking at the form examples' source code to see how these objects are created/used.

  3. #3
    Ext JS Premium Member
    Join Date
    Nov 2010
    Posts
    82
    Vote Rating
    0
    Syed Huda is on a distinguished road

      0  

    Default


    Actually figured this out. Turns out the query string was a little different.... not sure why because it works fine on another page.

    But I ended up changing everything from "get" to "post" so there is no query string.
    It works now.

  4. #4
    Ext User
    Join Date
    Dec 2010
    Posts
    10
    Vote Rating
    0
    Danek1313 is on a distinguished road

      0  

    Default


    Ah, well then. I was way off haha! Glad you found an answer.

Similar Threads

  1. FormPanel submits the form to wrong page (self one).
    By tgreg in forum Ext 2.x: Help & Discussion
    Replies: 11
    Last Post: 2 Dec 2008, 2:18 AM
  2. is there a tuttorial to make a simple form that submits?
    By TheBuzzer in forum Community Discussion
    Replies: 6
    Last Post: 12 Aug 2008, 7:51 AM
  3. Form submits and waits for ever on bad response
    By stratis in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 23 Apr 2007, 4:34 PM

Thread Participants: 1