in reply to 'submit' a series of form selections

Perl only runs on the server, not on the client.

If you want to solve this problem using only Perl, you will have to (re)show the forms where no selections have been made yet.

If you want to solve this problem using Javascript, you will have to have your Perl print the appropriate Javascript.

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

Replies are listed 'Best First'.
Re^2: 'submit' a series of form selections
by Anonymous Monk on Apr 25, 2017 at 13:33 UTC

    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.

      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.