in reply to Re: 'submit' a series of form selections
in thread 'submit' a series of form selections

My program (in Perl) is constructing an HTML file (using a HERE document). The HTML presents the dropdown boxes and submits the selection(s). Right now it is submitting using 'GET' to localhost. I can see the submission string in the URL line but it only has values from one 'submit;...I need the submission string to have a series of values.

  • Comment on Re^2: 'submit' a series of form selections

Replies are listed 'Best First'.
Re^3: 'submit' a series of form selections
by Corion (Patriarch) on Apr 25, 2017 at 13:35 UTC

    This sounds more like a problem in your HTML and less like a problem with Perl.

    Can you show a short HTML example together with the server-side Perl (each about 20 lines) that we can run to reproduce your situation?

    Maybe you have not given your HTML input elements the name and value attributes?

      Chrome will not let me post a code sample! The HTML is executing OK; right now I have two 'submit' commands but the submission string only has one value...
      http://localhost/?Dessert=polenta&.submit=Select+your+dessert
      I need to collect all the selections to pass in one submission string.

        A single submit button will only submit all the values from one form.

        If you want to have all values from the page, you will have to put all values and selections into the same form.

        Chrome will not let me post a code sample!
        Then why don't you try a different browser?