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
  #11  
Old   
Tim Gallant
 
Posts: n/a

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 03:28 PM






Yowsers. I took out the required form fields, and now I'm getting the same
message. Hmm...

tim

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

Quote:
Okay, so I downloaded the formmail script from boaddrink (Andrew Riley's).
The instructions seem very clear, but I'm still getting the same result:

http://www.cpanel18.gzo.com/~dis2093/pactumgroup/contact.php

Thoughts?

tim


"Alan" <dont_mail_me_period (AT) macromedia (DOT) com> wrote in message
news:BE32706A.1E2EA5%dont_mail_me_period (AT) macromedia (DOT) com...
for info, there's a bunch of Matt's and formmail scripts.
the one you linked isn't the Matt Wright /scriptarchive.com site.

if you can't sort that one out, this one is about the same syntax with
some
more options. works fine.
http://boaddrink.com phpformmail.

one suggestion (this applies to most of the formmail variants), modify
the
default first sentence of the outgoing email text, the popular filter
"Spam
Assassin" gives an email 3.5 points if it contains "Below is the result
of
your feedback form. It was submitted by" Find that text in the file and
change to something else.


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....






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

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 03:34 PM






make sure you are refreshing your form page---

this is what i get:
The following errors were found:

* You are coming from an unauthorized domain. Please read the manual
section titled "Setting Up the PHPFormMail Script".
* You are trying to send mail to a domain that is not in the allowed
recipients list. Please read the manual section titled "Setting Up the
PHPFormMail Script".


*****
so, first question-
This is the recipient field from the form-
<input type="hidden" name="recipient"
value="webservices (AT) pactumgroup (DOT) com,tim (AT) timgallant (DOT) org">

have you entered BOTH of those domains as allowed recipients?

have you entered this:
..cpanel18.gzo.com as an allowed domain to use the script?




Quote:
Yowsers. I took out the required form fields, and now I'm getting the same
message. Hmm...


Reply With Quote
  #13  
Old   
Mad Dog
 
Posts: n/a

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 03:37 PM



Take a look at this extension from Yaromat:
http://www.yaromat.com/dw/?ex=Check%20Form%20MX

It makes it easy to make sure people fill in the forms before it's
submitted. Then you won't have to worry about this (assuming all works fine
if you get rid of that "required field" line).

MD

Tim Gallant wrote:
Quote:
"Mad Dog" <md (AT) mdp (DOT) com> wrote in message
news:cuj2ab$t1v$1 (AT) forums (DOT) macromedia.com...
You're probably right and that's not the problem. *whoops*

However, I agree that the script might be an old version and not
working right. Why don't you forget the "required" field and instead
use a form validation script or extension to make sure people fill
out the form before it's sent?

Because I haven't a clue what you're talking about! :^D

The only forms I've used were a modified cgi version of one of Matt's
old scripts that my old webhost (pair.com) had touched up, and I
never used it with required fields. Because I discovered that the
script was filled here and there with pair.com stuff, I thought I had
better start over. Plus, I wanted to have more "power" so that the
emails I receive would be better formatted, and just in case someone
forgot to give me their email address.
All that to say that I'm just getting my feet wet with this stuff.

tim



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

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 04:05 PM



Thanks, Alan. I just succeeded. I suspect the timgallant.org was the
trouble.

tim

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

Quote:
make sure you are refreshing your form page---

this is what i get:
The following errors were found:

* You are coming from an unauthorized domain. Please read the manual
section titled "Setting Up the PHPFormMail Script".
* You are trying to send mail to a domain that is not in the allowed
recipients list. Please read the manual section titled "Setting Up the
PHPFormMail Script".


*****
so, first question-
This is the recipient field from the form-
input type="hidden" name="recipient"
value="webservices (AT) pactumgroup (DOT) com,tim (AT) timgallant (DOT) org"

have you entered BOTH of those domains as allowed recipients?

have you entered this:
.cpanel18.gzo.com as an allowed domain to use the script?




Yowsers. I took out the required form fields, and now I'm getting the
same
message. Hmm...




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

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 09:47 PM




"Mad Dog" <md (AT) mdp (DOT) com> wrote

Quote:
You're probably right and that's not the problem. *whoops*

However, I agree that the script might be an old version and not working
right. Why don't you forget the "required" field and instead use a form
validation script or extension to make sure people fill out the form
before it's sent? Then you don't even have to worry about this field.
that was my suggestion over on the webbiz forum. Remove the current
required fields line and just use the standard DW Validate form behaviour
:-)

Did you try that Tim?

--
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/
---------------------------------------------




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

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 10:26 PM



Quote:
"Mad Dog" <md (AT) mdp (DOT) com> wrote in message
news:cuj2ab$t1v$1 (AT) forums (DOT) macromedia.com...
You're probably right and that's not the problem. *whoops*

However, I agree that the script might be an old version and not working
right. Why don't you forget the "required" field and instead use a form
validation script or extension to make sure people fill out the form
before it's sent? Then you don't even have to worry about this field.

that was my suggestion over on the webbiz forum. Remove the current
required fields line and just use the standard DW Validate form behaviour
:-)

Did you try that Tim?
Nadia, I guess you didn't see: I've got the form up and running. So I didn't
bother with the validation script.

http://www.cpanel18.gzo.com/~dis2093/pactumgroup/contact.php

I don't think that a script would have helped me; my problem was elsewhere
(in the php file itself). I had set the form to send to two of my email
addresses, one at a different domain, and I hadn't included that domain in
the php file. Consequently, the form was failing altogether. (Although I'm
still not sure why it came up with my "incomplete" page; I think it should
have gone to one of the script's other warnings. There must be something
slightly wrong in the redirection instructions in the script, I dunno.)

tim




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

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 11:15 PM



Ok, I missed something somewhere then :-)

I just tested your form. It submitted with no errors.

The only thing I entered was 'test' for each of the input fields.
I notice that you do have 'email' required, however, 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'.

Those validation behaviours will ensure that at least they have to type in a
valid email address
eg: test (AT) whatever (DOT) com They may still use a bogus one, but more chances of
getting a genuine one <lol>

I hope I'm not off the mark again :-D

--
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:
"Mad Dog" <md (AT) mdp (DOT) com> wrote in message
news:cuj2ab$t1v$1 (AT) forums (DOT) macromedia.com...
You're probably right and that's not the problem. *whoops*

However, I agree that the script might be an old version and not working
right. Why don't you forget the "required" field and instead use a form
validation script or extension to make sure people fill out the form
before it's sent? Then you don't even have to worry about this field.

that was my suggestion over on the webbiz forum. Remove the current
required fields line and just use the standard DW Validate form behaviour
:-)

Did you try that Tim?

Nadia, I guess you didn't see: I've got the form up and running. So I
didn't bother with the validation script.

http://www.cpanel18.gzo.com/~dis2093/pactumgroup/contact.php

I don't think that a script would have helped me; my problem was elsewhere
(in the php file itself). I had set the form to send to two of my email
addresses, one at a different domain, and I hadn't included that domain in
the php file. Consequently, the form was failing altogether. (Although I'm
still not sure why it came up with my "incomplete" page; I think it should
have gone to one of the script's other warnings. There must be something
slightly wrong in the redirection instructions in the script, I dunno.)

tim




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

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 11:20 PM



Thanks, Nadia. Actually, I did download the Yaromat extension earlier today.
Just a matter of taking the time to see if I can figure it out.

tim

".: Nadia :. *TMM*" <forums@-ozzie-perrelink.com.au> wrote

Quote:
Ok, I missed something somewhere then :-)

I just tested your form. It submitted with no errors.

The only thing I entered was 'test' for each of the input fields.
I notice that you do have 'email' required, however, 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'.

Those validation behaviours will ensure that at least they have to type in
a valid email address
eg: test (AT) whatever (DOT) com They may still use a bogus one, but more chances
of getting a genuine one <lol

I hope I'm not off the mark again :-D

--
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:cujt15$8vu$1 (AT) forums (DOT) macromedia.com...
"Mad Dog" <md (AT) mdp (DOT) com> wrote in message
news:cuj2ab$t1v$1 (AT) forums (DOT) macromedia.com...
You're probably right and that's not the problem. *whoops*

However, I agree that the script might be an old version and not
working right. Why don't you forget the "required" field and instead
use a form validation script or extension to make sure people fill out
the form before it's sent? Then you don't even have to worry about this
field.

that was my suggestion over on the webbiz forum. Remove the current
required fields line and just use the standard DW Validate form
behaviour :-)

Did you try that Tim?

Nadia, I guess you didn't see: I've got the form up and running. So I
didn't bother with the validation script.

http://www.cpanel18.gzo.com/~dis2093/pactumgroup/contact.php

I don't think that a script would have helped me; my problem was
elsewhere (in the php file itself). I had set the form to send to two of
my email addresses, one at a different domain, and I hadn't included that
domain in the php file. Consequently, the form was failing altogether.
(Although I'm still not sure why it came up with my "incomplete" page; I
think it should have gone to one of the script's other warnings. There
must be something slightly wrong in the redirection instructions in the
script, I dunno.)

tim






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

Default Re: Yet another (Matt's Script) email form problem - 02-11-2005 , 11:54 PM



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

Quote:
Thanks, Nadia. Actually, I did download the Yaromat extension earlier
today. Just a matter of taking the time to see if I can figure it out.
It's not too difficult.
Install the extension naturally and reopen DW.

Firstly remove the line where you have required fields currently.

Select the <form> and go to the Behaviours panel. You will see the Yaromat
validation behaviour. Click on it and then select the required options.
Easy Peasy :-)

Good Luck.

--
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/
---------------------------------------------






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

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



".: Nadia :. *TMM*" <forums@-ozzie-perrelink.com.au> wrote

Quote:
Firstly remove the line where you have required fields currently.

Select the <form> and go to the Behaviours panel. You will see the
Yaromat validation behaviour. Click on it and then select the required
options. Easy Peasy :-)
Easy peasy - except that I'm having a problem. When I use Yaromat to try to
set up the procedure, I get an error message:

"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?

tim




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.