I'm fine with Perl. As well, adding a bit more html to the perl code is not a problem - this used to be the meat and potatoes of our web appications. If there's something you want to try, just email me directly and we can see what's up. Just so you know, I'm an application developer for big horkin' web sites . Sean
Joined: May 05, 2000
The problem is that we would be hacking UBB's code so that when an update to the code came along, the hack would be lost.
Joined: Nov 07, 2000
Well, I've never seen the UUB code but they have to be either reading in a template file that contains the html or they've hard coded the html throughout the Perl. Either way, you simply find the point at which the cgi calls print "<HEAD>"; print "</HEAD>; or (if they are using an html template just edit that like regular html). then between these two lines paste in < script> function check() ... < /script> Find the form element tag and add the onSubmit bit. < FORM ACTION=" ..... onSubmit="return check();"> That's it. It would take about 5 minutes. There's no risk as long as you back up the original especially since you're not changing any of the perl code logic - just what it prints to the browser. In the old days our interface guys used to tweak their html directly in the Perl (gulp) which is particularly easy since Perl isn't compiled. Of course, we've developed well beyond the good ol' days now the we develop in Java and VB mostly. Anyway, it's not my place to say what's what with regard to the Ranch...