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

      0  

    Default Unanswered: problem with combo multiselect and form submit

    Unanswered: problem with combo multiselect and form submit


    When I do submit, the multiselect combo sends the values separatedly (example, code = 1, code = 2, code = 3) instead of into a string separated by ','
    then i can't get all codes by $_POST['code'], ever I get the last code.
    I'm doing anything wrong?

  2. #2
    Sencha Premium Member skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,605
    Answers
    543
    Vote Rating
    326
    skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future skirtle has a brilliant future

      0  

    Default


    Moving this thread to the Q&A forum.

    The behaviour you describe is correct. While it is possible to munge the request to use a CSV you'd be better off just writing your server to handle multiple parameters with the same name.

Thread Participants: 1