I would appreciate any help possible. I have a flash form, and am trying to
update the cfform's action attribute according to which submit button gets
pressed. For example, if the user presses the "users" submit button, then the
form would submit to "users.cfm". If the user clicks on "administrators", then
it would go to "admins.cfm". Attached below is some code that I tried, but it
didn't work.

I am very new to action script, and have tried researching it, but haven't
been able to find anything.

Please help.

Thanks!

-Neil



<cfform name="client_form" action="blah.cfm" method="post" format="flash">
<cfinput type="submit" onclick="client_form.action = 'client_users.cfm';"
name="users" value="users">
<cfinput type="submit" onclick="client_form.action='client_admins.cfm';"
name="admins" value="admins">
</cfform>