[thelist] Forms

Jeff Howden jeff at jeffhowden.com
Thu Oct 23 01:54:31 CDT 2003


chris,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Christopher Mahan
>
> > What are you trying to accomplish? There are various
> > techniques available, such as JavaScript that changes
> > the form's action dynamically, or server-side
> > techniques to branch upon receipt of post.
>
> If javascript is not an option, use a server-side page
> to look at which submit button was pressed, then act
> accordingly.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

actually, even if scripting *is* an option, you should still only do the
decision-making server-side.  anything else is sloppy, problematic, and
possibly even open to exploit.

.jeff

------------------------------------------------------
Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/



More information about the thelist mailing list