Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 cooling their heels in the Monastery: (4)
As of 2014-07-13 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (245 votes), past polls