Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re: TMPL_VAR with selection box

by Anonymous Monk
on Nov 08, 2012 at 02:23 UTC ( #1002791=note: print w/replies, xml ) Need Help??

in reply to TMPL_VAR with selection box

it should be

Based on what?

Replies are listed 'Best First'.
Re^2: TMPL_VAR with selection box
by bebewinla (Novice) on Nov 08, 2012 at 05:27 UTC

    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

      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 ?

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (10)
As of 2017-03-30 07:40 GMT
Find Nodes?
    Voting Booth?
    Should Pluto Get Its Planethood Back?

    Results (355 votes). Check out past polls.