HighDots Forums  

Yet another (Matt's Script) email form problem

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Yet another (Matt's Script) email form problem in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Tim Gallant
 
Posts: n/a

Default Re: Yet another (Matt's Script) email form problem - 02-12-2005 , 01:02 AM






Quote:
"While executing onBlur in Check Form.htm, the following JavaScript
error(s) occurred. At line 339 of file "C:\Program
Files\Macromediablahblah\Yaromat\CheckForm.js": TypeError:
objArray[yyAllObj.selectedIndex] has no properties"

Does that suggest that my download of the extension is corrupt, or what?

Well, I undid everything and tried it a second time and didn't get any error
messages. However, it doesn't do anything either. It allowed my email
through without valid info.

Back to the drawing board, I guess.

tim




Reply With Quote
  #22  
Old   
.: Nadia :. *TMM*
 
Posts: n/a

Default Re: Yet another (Matt's Script) email form problem - 02-12-2005 , 04:24 AM






I copied your form page and put into DW.
For some reason Yaromat check form behaviour didn't pick up any of your form
elements ( have no idea what that's about).

I then used the standard DW validate behaviour and came up with the code on
this page:
http://www.dreamweaverresources.com/forum/tim%5Fform/

It would not let me submit without a proper email address.

See if it works for you.

--
Nadia
--------------------------------------------
Templates | http://www.DreamweaverResources.com
Dropdown Menu Designs | SEO Articles |Tutorials
CSS Templates | http://www.dreamweaverresources.com/CSS-templates
---------------------------------------------
Team MM Volunteer for Dreamweaver
www.macromedia.com/go/team
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------


"Tim Gallant" <tim (AT) timgallant (DOT) org> wrote

Quote:
"While executing onBlur in Check Form.htm, the following JavaScript
error(s) occurred. At line 339 of file "C:\Program
Files\Macromediablahblah\Yaromat\CheckForm.js": TypeError:
objArray[yyAllObj.selectedIndex] has no properties"

Does that suggest that my download of the extension is corrupt, or what?


Well, I undid everything and tried it a second time and didn't get any
error messages. However, it doesn't do anything either. It allowed my
email through without valid info.

Back to the drawing board, I guess.

tim




Reply With Quote
  #23  
Old   
.: Nadia :. *TMM*
 
Posts: n/a

Default Re: Yet another (Matt's Script) email form problem - 02-12-2005 , 04:30 AM



Oh yeah, I also gave the form a name... check the code.

Only message I got was formmail.php could not be found - which is only
logical
No error messages for missing information.

Hope it works for you.

--
Nadia
--------------------------------------------
Templates | http://www.DreamweaverResources.com
Dropdown Menu Designs | SEO Articles |Tutorials
CSS Templates | http://www.dreamweaverresources.com/CSS-templates
---------------------------------------------
Team MM Volunteer for Dreamweaver
www.macromedia.com/go/team
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------
".: Nadia :. *TMM*" <forums@-ozzie-perrelink.com.au> wrote

Quote:
I copied your form page and put into DW.
For some reason Yaromat check form behaviour didn't pick up any of your
form elements ( have no idea what that's about).

I then used the standard DW validate behaviour and came up with the code
on this page:
http://www.dreamweaverresources.com/forum/tim%5Fform/

It would not let me submit without a proper email address.

See if it works for you.

--
Nadia
--------------------------------------------
Templates | http://www.DreamweaverResources.com
Dropdown Menu Designs | SEO Articles |Tutorials
CSS Templates | http://www.dreamweaverresources.com/CSS-templates
---------------------------------------------
Team MM Volunteer for Dreamweaver
www.macromedia.com/go/team
MM Dreamweaver Tutorials
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------


"Tim Gallant" <tim (AT) timgallant (DOT) org> wrote in message
news:cuk65b$jii$1 (AT) forums (DOT) macromedia.com...
"While executing onBlur in Check Form.htm, the following JavaScript
error(s) occurred. At line 339 of file "C:\Program
Files\Macromediablahblah\Yaromat\CheckForm.js": TypeError:
objArray[yyAllObj.selectedIndex] has no properties"

Does that suggest that my download of the extension is corrupt, or what?


Well, I undid everything and tried it a second time and didn't get any
error messages. However, it doesn't do anything either. It allowed my
email through without valid info.

Back to the drawing board, I guess.

tim






Reply With Quote
  #24  
Old   
Alan
 
Posts: n/a

Default Re: Yet another (Matt's Script) email form problem - 02-12-2005 , 09:05 AM



I think you should
Quote:
still use the validation behaviour either DWs native one or the Yaromat
one - because I'm sure you would prefer to see a full email address rather
than what I submitted with was only "test'.
with phpformmail, if you name the email field "email" then make it a
required field, the script checks for valid email address structure, that
what is entered is something (AT) something (DOT) something

if you give it a different name, making it required just means it has to
have some contents.



Reply With Quote
  #25  
Old   
Tim Gallant
 
Posts: n/a

Default Re: Yet another (Matt's Script) email form problem - 02-12-2005 , 01:41 PM



"Alan" <dont_mail_me_period (AT) macromedia (DOT) com> wrote

Quote:
I think you should
still use the validation behaviour either DWs native one or the Yaromat
one - because I'm sure you would prefer to see a full email address
rather
than what I submitted with was only "test'.

with phpformmail, if you name the email field "email" then make it a
required field, the script checks for valid email address structure, that
what is entered is something (AT) something (DOT) something

if you give it a different name, making it required just means it has to
have some contents.
Well... the script I'm using doesn't accomplish that, even though I do have
"email" as my required field.

tim




Reply With Quote
  #26  
Old   
Jonathan Stowe
 
Posts: n/a

Default Re: Yet another (Matt's Script) email form problem - 02-15-2005 , 10:19 AM



Tim Gallant <tim (AT) timgallant (DOT) org> wrote:
Quote:
"terry" <terryuse (AT) cashette (DOT) com> wrote in message
news:cuiuk5$n7s$1 (AT) forums (DOT) macromedia.com...


If I remember correctly, a couple of years ago, Matt was advising people
not
to use this site because it was so out of date. He suggested that you
follow one of the more recent links on the MA site. Sorry I can't be more
helpful.

MA site? Are you talking about "Matt's Script Archive," or something else?
The stuff there looks at least as old as this one, which is on record as
having been updated in 2003....
I think the reference is to the NMS programs that can be found at
http://nms-cgi.sf.net/ - these programs are still actively maintained
and supported.

/J\


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.