Well, so much for that idea. 🙂
I was trying to implement some data validation at the form level in JScript. The JScript needs the form name (which is something like document.form.name, I think) but there is no way to pass this to the PHP function that kicks this off, since PHP knows nothing about JS.
I guess I could do all of this in JS, but I have a whole series of PHP button functions that I have implemented over time and use these throughout my program. They look much better than the drab default buttons JS or the built-in Submit gives you.
Perhaps I need to rethink my whole approach of this rocky marriage between PHP and JS, but you can do some amazing things if you get the two talking to each other.