Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: TMPL_VAR with selection box

by choroba (Abbot)
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?

لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ


Comment on Re: TMPL_VAR with selection box
Download Code
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?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (2)
As of 2014-09-20 00:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (151 votes), past polls