[dancer-users] Template Toolkit Help

Andrew Beverley andy at andybev.com
Thu Oct 1 23:33:54 BST 2015


On Thu, 2015-10-01 at 16:10 -0500, Richard Reina wrote:
> Both forms have submit buttons but I am not sure how to make the POST 
> route understand that the user is done with the form so that I can in 
> turn make it save the data.

You can differentiate between submit buttons by checking for the name of
the submitted button, just like any other control on the form.

If I've understood correctly, then I'd just have the one form, and use
different submit button names.

Andy




More information about the dancer-users mailing list