On Feb 22, 2013, at 9:52 AM, Harry Jamieson <ha...@persoftware.com> wrote:

> I need to have access to the script name as given in the action line, as 
> shown here...
> 
> <form action="standard_mnt.pl" class="fb_form" id="update_scrn" method="get" 
> name="update_scrn" onsubmit="return validate_update_scrn(this);"><input 
> id="_submitted_update_scrn" name="_submitted_update_scrn" type="
> hi
> dden
> " value="1" />
> The id= or name= value is what I'm looking for.  I want to condition the 
> appearance of some images based on which of two very similar screens come up. 
>  I'm using Formbuilder, and have tried [% form.name %] to to no avail.  I'm 
> hoping that this will be an easy question to answer, but my searches have not 
> turned anything up yet.  Thanks in advance for your help.
> 

Harry,

Can't you just do $stash->{'name'} = $0; before you pass off to template?



_______________________________________________
templates mailing list
templates@template-toolkit.org
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to