|
|
|
||||
|
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. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Too lazy to set a custom title
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! |
|
|
|
|
|
#2 |
|
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. |
|
|
|
|
|
#3 |
|
Confirmed User
Join Date: Dec 2003
Posts: 1,517
|
maybe this site can help you out? http://www.dynamicdrive.com/
|
|
|
|
|
|
#4 |
|
Too lazy to set a custom title
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! |
|
|
|
|
|
#5 |
|
Too lazy to set a custom title
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! |
|
|
|
|
|
#6 |
|
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
|
|
|
|
|
|
#7 |
|
Too lazy to set a custom title
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! |
|
|
|
|
|
#8 |
|
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:
-b
__________________
ICQ: 12005327 |
|
|
|
|
|
#9 |
|
Too lazy to set a custom title
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! |
|
|
|
|
|
#10 |
|
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. |
|
|
|
|
|
#11 |
|
Too lazy to set a custom title
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! |
|
|
|