Can I capture tt2 variable in perl/cgi code?
For example I have the folling html page:

      [% success = "false" %] 
      
      <form class="form-data" action="/cgi-bin/login.cgi" method="POST" 
class="form-font">
        <label>
          [% IF success == "false" %]
            Are you already registered?
          [% ELSE %]
            You must insert correct data
          [% END %]
        </label><br/><hr/><br/>
          <fieldset><br/>
            <legend>Insert your account</legend>
            Email: <input type="text" name="email"/><br/><br/>
            Password: <input type="password" name="password"/><br/><br/>
            <input type="submit" value="Log In" /><br/><br/>
         </fieldset>
      </form>

Can I capture (to pass) the success tt2 variable in login.cgi perl script?

Regards,
Savio


      

_______________________________________________
templates mailing list
[email protected]
http://mail.template-toolkit.org/mailman/listinfo/templates

Reply via email to