Hybrid View

  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,927
    Answers
    656
    Vote Rating
    443
    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,927
    Answers
    656
    Vote Rating
    443
    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

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi