1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    4
    Vote Rating
    0
    sergiogragera is on a distinguished road

      0  

    Default Unanswered: SUBMIT method of a form not sent null parameters

    Unanswered: SUBMIT method of a form not sent null parameters


    Submitting a form using the SUBMIT method of a form not sent null parameters. If not I select a combobox value, this field does not send by SUBMIT method.


    Attached is an example that you can found in ExtJS demos: http://dev.sencha.com/deploy/ext-4.1.../xml-form.html


    And also a screenshot where you can see combobox field is not sent at Chrome console.

    submit.png


    How I can force form submit sent all fields?

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,639
    Answers
    613
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Make sure you do not have submitEmptyText set to false.

    Also, have a look at:
    http://www.sencha.com/forum/showthread.php?232268

    Scott.

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Posts
    4
    Vote Rating
    0
    sergiogragera is on a distinguished road

      0  

    Default


    submitEmptyText is used to send emptyText value, in this case "Select a state...".

    I have
    submitEmptyText to true and empty combobox (without emptyText attribute assigned) value is not send as param of POST/PUT submit.

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,639
    Answers
    613
    Vote Rating
    400
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Set a default value of '' for your combo to overcome this: value: ''

    Scott.

  5. #5
    Sencha User
    Join Date
    Oct 2010
    Posts
    4
    Vote Rating
    0
    sergiogragera is on a distinguished road

      0  

    Default


    Setter default value is useful if you submit the form without having edited the field, but if user selects a value and then deletes it, the value is not default value.


    Moreover, I want to send null to the server, not '', because empty value is different from null.

    Thanks

  6. #6
    Sencha User
    Join Date
    Mar 2012
    Posts
    1
    Vote Rating
    0
    cybercandyman is on a distinguished road

      0  

    Default


    I'am facing the same problem. It works with textfield and other but not combobox

  7. #7
    Sencha User
    Join Date
    Nov 2011
    Posts
    8
    Vote Rating
    0
    4lenour is on a distinguished road

      0  

    Default


    i am using ext4.2beta, and i am try all suggestion from this forum but did'tn work

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar