Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 03-10-2004, 09:36 PM   #1
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
java-script help - AutoGallery submit form

I'm looking to implement the Filthbot "Description Length Validator" script into my AutoGallery SQL submit form. I actually have the code inserted into the form page, and have it working just fine -- but have one problem.

The new version of AutoGallery uses java-script of its own to validate the email/gallery URL/# of thumbs. So within the POST method code, autogallery uses an "onSubmit" handler to run the validation script before the form is posted.

Now with the addition of the Description Length Validator, I have to add another handler to the POST method line -- only problem is, I can't get two "onSubmit" handlers to work properly.

I know there are basically two ways around this:

1. Combine both validation scripts into one script, and then I would only need one handler.
2. Figure this bugger out to use two "onSubmit" handlers - which is what I've been trying to do unsuccessfully so far

Here are some I've tried so far without success:

PHP Code:
onsubmit="return (checkForm(this) && return Desc_Validator());">
onsubmit="return Desc_Validator();return checkForm(this);">
onsubmit="return checkForm(this) & return Desc_Validator();">
onsubmit="return checkForm(this) && return Desc_Validator();"
Any help on this one would be greatly appreciated.
__________________
No sig = good sig

Last edited by grannytgp; 03-10-2004 at 09:46 PM..
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-10-2004, 09:50 PM   #2
mike503
Confirmed User
 
Industry Role:
Join Date: May 2002
Location: oregon.
Posts: 2,243
icq/email me
__________________
php/mysql guru. hosting, coding, all that jazz.
mike503 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 03-11-2004, 12:03 AM   #3
grannytgp
Confirmed User
 
Join Date: Aug 2002
Posts: 269
mike503 hooked me up... thanks a bunch man. So issue is now dead
__________________
No sig = good sig
grannytgp is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.