Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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

Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002815]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (2)
As of 2018-04-20 07:55 GMT
Find Nodes?
    Voting Booth?