http://www.perlmonks.org?node_id=1002787


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