Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jul 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multiple Submit Buttons with PERL

    I have a problem that I have been tasked with and have no idea how to do it. Needless to say, I do not know javascript have been told that is what I need to use to solve the problem. Here is the issue. I have a basic webiste that I wrote completely in HTML and Perl. On the page I have a submit button that sends a couple of input values to a PERL script. That script passes the values to a socket server (an internal TCL server) executes a TCL script and then returns the results to the Perl script which in turn prints on the web page. I am trying to combine all of the individual search pages into one but since I can only have one submit button per page I cannot do it in HTML. So here is my thought. If I could have several Submit Buttons that would run each script and send the variables to the TCL server I could combine all the pages into one and the user would not have to re-enter the vlaues on each page. I just have NO idea how to make this happen. If I could get one example working I can figure out the rest.

    First button has 2 values (fileId, msgId)
    the PERL script it passes is cgi-bin/findOrderToLab.pl

    Any ideas on how to make this work or am I even headed the right direction?

    Really need some help.

    Thanks
    slay3439

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,092
    Thanks
    23
    Thanked 593 Times in 592 Posts
    Are you talking about forms and not submit buttons? You know you can have as many buttons as you want on a html page? As for forms you can submit a large number of values with one button. So I don't understand your problem.

    How about a link to your site that shows what your trying to do.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •