Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: TMPL_VAR with selection box

by choroba (Bishop)
on Nov 08, 2012 at 01:48 UTC ( #1002787=note: print w/replies, xml ) Need Help??

in reply to TMPL_VAR with selection box

What templating engine do you use? Does it increment fn for you automatically?
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

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

    Hi Choroba, I am not sure the answer of your question. not sure if it increment each time, but when I do this

    <input type="hidden" name="file" value="<TMPL_VAR NAME="fn">"> change it to <input type="text" name="file" value="<TMPL_VAR NAME="fn">">

    so instead of type as "hidden" I changed to "text" for debug purpose,it displayed correctly each row with different filename, so it looked like my "fn" was generated correctly, it just the read in function in my script not working (I am not sure)

      I use the standard HTML::Template

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2018-03-24 08:38 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (297 votes). Check out past polls.