At 02:32 PM 5/21/2004, you wrote:
>> Sure, but a template can contain several forms which
>> all call the same template, even if only one is submitted.
>> My question is then to detect the one that fired the
>> template.
>
>You will then need to send additional information within the form itself.
>Alternatively, you could simply build a single form, and simply respond to
>the form variables you receive within your action page.

You could also FUSEBOXIFY the form and bury the form name in .DSP and .QRY files nested 8-10 levels deep amd call its FUSEACTION.... ;-)

Seriously, if you have several forms, why not add a hidden form field in each form with the name of the form as the value? Then your action page could look at the one hidden field, grab its value and then know what form was submitted?

Hope this helps.


>Dave Watts, CTO, Fig Leaf Software
>http://www.figleaf.com/
>phone: 202-797-5496
>fax: 202-797-5444
>
>----------
>[<http://www.houseoffusion.com/lists.cfm/link=t:4>Todays Threads] [<http://www.houseoffusion.com/lists.cfm/link=i:4:164007>This Message] [<http://www.houseoffusion.com/lists.cfm/link=s:4>Subscription] [<http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=808.728.4>Fast Unsubscribe] [<http://www.houseoffusion.com/signin/>User Settings]
>
>----------
><http://www.houseoffusion.com/banners/view.cfm?bannerid=38>
>f857bab.jpg
>

----------------------------------
Alex Sherwood
PHS Collection Agency
THE COLLECTORS
P:   813-283-4579
F:   301.664.6834
W: www.phs-net.com
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to