Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: TMPL_VAR with selection box

by choroba (Canon)
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
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?
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 about the Monastery: (16)
As of 2015-07-31 18:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (280 votes), past polls