Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: TMPL_VAR with selection box

by bebewinla (Novice)
on Nov 08, 2012 at 05:27 UTC ( #1002815=note: print w/ replies, xml ) Need Help??


in reply to Re: TMPL_VAR with selection box
in thread TMPL_VAR with selection box

my display is like this(more or less like table display

file1 pulldown_selection#1 file2 pulldown_selection#2 file3 pulldown_selection#3 ..... so when I select the pulldown#1, I selected 1 sec .... the pulldown#2, I selected 10 sec .... the pulldown#3, I selected 1 sec

There is a submit button at the end, in my cgi script, I need to find out what selections I made, which should be

file1 1 file2 10 file3 1 but I got is file1 1 file1 10 file1 1

filename "file#" not change at all


Comment on Re^2: TMPL_VAR with selection box
Select or Download Code
Re^3: TMPL_VAR with selection box
by Anonymous Monk on Nov 08, 2012 at 09:48 UTC

    filename "file#" not change at all

    In the template you posted there is nothing included that changes the name of the form element, it is hardcoded to "files234p"

    it will always be files234p"

    The name attribute of your select tag is hardcoded to files234p

      so how do I not hard coded the name "files234p" in the template ?
        Like, make it a variable , like TMPL_VAR or something

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002815]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2014-12-23 01:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (133 votes), past polls