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 04-01-2004, 10:46 AM   #1
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
Anyone good with DHTML??

Need a little help with a script. Or at least where to find it.


Thanks
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 10:50 AM   #2
KMR Stitch
I am cool
 
Join Date: Jul 2003
Posts: 14,494
Dynamic html :-x

I had some fun with that in 2002 with frontpage lol.

Bump for you.
KMR Stitch is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 10:51 AM   #3
PMdave
Confirmed User
 
Join Date: Dec 2003
Posts: 1,517
maybe this site can help you out? http://www.dynamicdrive.com/
PMdave is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 10:55 AM   #4
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
I need to do something with a form that is not working out right.
front page nor dreamweaver will do it.


__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 10:56 AM   #5
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
Thanks PMdave. I tried them already.

They have a great site, but this is one of those things that I can never find.
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 10:58 AM   #6
PMdave
Confirmed User
 
Join Date: Dec 2003
Posts: 1,517
some contact info or description of what you need, example page,... ,... could be usefull. Not easy to help this way
PMdave is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 11:04 AM   #7
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
I am working on a form that needs to valadate a field, If the field is not filled in then put the error on that page. not pop a warning box.

I know that j-a-v-a s-c-r-i-p-t does it, but it refreshes the page. DHTML does it as well and does not refresh the page..
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 11:13 AM   #8
aiken
Confirmed User
 
Join Date: Jun 2003
Location: Kona, HI
Posts: 204
This is off the top of my head and hand-typed, so probably won't work as is (and definitely needs the usual browser-compatible approach to getElementByID). But the principle is what you want, I think.

Apologies for the color coding; GFY doesn't respect the code tag like it does the php tag. And a few words tweaked to avoid hahahaha-age.

PHP Code:
<div id="errormsg"&nbsp;</div>
<
for_m name=myform action="whatever" method="get">
hahahahahahaha type=text name="checkme">
hahahahahahaha type=submit value="Submit" onclick="if (documen_t.forms.myform.checkme = = 'bad') {documen_t.getElementByID('errormsg').innerHTML='You entered an invalid value'; return false;">
</
form
Cheers
-b
__________________
ICQ: 12005327
aiken is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 11:54 AM   #9
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
Thanks aiken.

Trying it now.
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 12:57 PM   #10
Coyote
Drinker of Scotch
 
Industry Role:
Join Date: May 2003
Location: Texas
Posts: 242
A lot will depend on your form layout, but you could append an image tag whose source attribute is a blank gif/jpg and name attribute is identical to the name of the data field. As you loop through the datafields, each empty field can have the corresponding image source (using the images collection) changed to whatever icon you want, such as an exclamation point, etc. This will help identify the offending fields.

You can also replace or insert text, oriented in whcihever way to the offending fields, that states your specific error message, such as "First name is required.", etc.

To keep the elements from re-flowing when you add text/images, make room for them ahead of time. For example, make room for the input field and appended image tag in the table data tag, or add a blank table row (for the error messages) between each data field row. Style settings can then be used to format the presentation accordingly, such as error text in a smaller/larger font size/color, etc.

If any form field validation fails simply cancel the form submit action.
Coyote is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 04-01-2004, 01:13 PM   #11
pornguy
Too lazy to set a custom title
 
pornguy's Avatar
 
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
Thanks for the info coyote
__________________
PornGuy skype me pornguy_epic

AmateurDough The Hottes Shemales online!
TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME!
pornguy 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.