This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > January 2005 > php form guru





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author php form guru
.: Nadia :. *TMM*

2005-01-05, 12:15 pm

I have a form set up at:
http://www.swiftofficesolutions.co.uk/info_form.htm

I have used this form a few times and no problems. Howeever, with the
above, even though I have removed all validation requirements, I am still
getting errors on submit. Must have something to do with the actual
formmail.php asking for required fields. Never had this before, so not sure
why it is happening now :\

Any ideas??


--
Nadia
--------------------------------------------
Free Templates | Free Nav Bar Sets
http://www.DreamweaverResources.com
Dropdown/Flyout Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles |Tutorials
---------------------------------------------
Team MM Volunteer for Dreamweaver
www.macromedia.com/go/team
MM Dreamweaver Tutorials |
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------
Email: nperre at gmail dot com
---------------------------------------------


Kramerica Industries

2005-01-05, 12:15 pm

Not a guru but...
The error is clearly a response from the PHP, and without seeing the PHP
code.....
Did you remove your client side validation before or after you started
having this problem?
Also are you validating (server-side) for a field name including the colon?
(ContactName vs. ContactName:)


".: Nadia :. *TMM*" <forums@-ozzie-perrelink.com.au> wrote in message
news:crgr1m$f14$1@forums.macromedia.com...
>I have a form set up at:
> http://www.swiftofficesolutions.co.uk/info_form.htm
>
> I have used this form a few times and no problems. Howeever, with the
> above, even though I have removed all validation requirements, I am still
> getting errors on submit. Must have something to do with the actual
> formmail.php asking for required fields. Never had this before, so not
> sure why it is happening now :\
>
> Any ideas??
>
>
> --
> Nadia
> --------------------------------------------
> Free Templates | Free Nav Bar Sets
> http://www.DreamweaverResources.com
> Dropdown/Flyout Menu Designs | CSS Layouts
> Ecommerce - YVStore | SEO Articles |Tutorials
> ---------------------------------------------
> Team MM Volunteer for Dreamweaver
> www.macromedia.com/go/team
> MM Dreamweaver Tutorials |
> http://macromedia.com/devnet/mx/dreamweaver/
> ---------------------------------------------
> Email: nperre at gmail dot com
> ---------------------------------------------
>
>



Stubob100

2005-01-05, 12:15 pm

I looked at your source code and you still have certain fields required with
this line... <INPUT type=hidden name='required' value='visitoremailaddress,
ContactName,Comments'> Try removing this line and let us know how you get on.

.: Nadia :. *TMM*

2005-01-05, 12:15 pm

That was the offending line - I couldn't see it for looking :)
Thank you !!

Now to go and enter the proper validation requirements.

--
Nadia
--------------------------------------------
Free Templates | Free Nav Bar Sets
http://www.DreamweaverResources.com
Dropdown/Flyout Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles |Tutorials
---------------------------------------------
Team MM Volunteer for Dreamweaver
www.macromedia.com/go/team
MM Dreamweaver Tutorials |
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------

"Stubob100" <webforumsuser@macromedia.com> wrote in message
news:crgscv$gk6$1@forums.macromedia.com...
>I looked at your source code and you still have certain fields required
>with
> this line... <INPUT type=hidden name='required'
> value='visitoremailaddress,
> ContactName,Comments'> Try removing this line and let us know how you get
> on.
>



.: Nadia :. *TMM*

2005-01-05, 12:15 pm

"Kramerica Industries" <webforumsuser@macromedia.com> wrote in message
news:crgrvj$g3n$1@forums.macromedia.com...
> Not a guru but...
> The error is clearly a response from the PHP, and without seeing the PHP
> code.....
> Did you remove your client side validation before or after you started
> having this problem?


I was getting the errors when I was using client side validation, so to
test, I removed the required fields and then am still getting the errors.
That's why it must be from the form handler. There is a section in the
script that mentions 'required', but I won't touch it with a 10' pole :)


> Also are you validating (server-side) for a field name including the
> colon? (ContactName vs. ContactName:)


That one I'm not sure about :/

Thanks for responding though.

Nadia


Kramerica Industries

2005-01-05, 12:15 pm

Well without seeing your PHP i'm not sure anyone can help you....all anyone
can do is guess.

But I see the fields with a name followed by a colon, this could be your
problem (the names of the fields don't match)...



".: Nadia :. *TMM*" <forums@-ozzie-perrelink.com.au> wrote in message
news:crgs9v$gdk$1@forums.macromedia.com...
> "Kramerica Industries" <webforumsuser@macromedia.com> wrote in message
> news:crgrvj$g3n$1@forums.macromedia.com...
>
> I was getting the errors when I was using client side validation, so to
> test, I removed the required fields and then am still getting the errors.
> That's why it must be from the form handler. There is a section in the
> script that mentions 'required', but I won't touch it with a 10' pole :)
>
>
>
> That one I'm not sure about :/
>
> Thanks for responding though.
>
> Nadia
>



Gary White

2005-01-05, 12:15 pm

..: Nadia :. *TMM* wrote:

>That was the offending line - I couldn't see it for looking :)
>Thank you !!
>
>Now to go and enter the proper validation requirements.



Yes. Do that because I just submitted a blank form before I saw that you
found the answer. ;-)


Gary
.: Nadia :. *TMM*

2005-01-05, 11:14 pm

Hi Gary,
thanks for testing - I did notice it came in :)

I have now added validation and it appears to be working well.

--
Nadia
--------------------------------------------
Free Templates | Free Nav Bar Sets
http://www.DreamweaverResources.com
Dropdown/Flyout Menu Designs | CSS Layouts
Ecommerce - YVStore | SEO Articles |Tutorials
---------------------------------------------
Team MM Volunteer for Dreamweaver
www.macromedia.com/go/team
MM Dreamweaver Tutorials |
http://macromedia.com/devnet/mx/dreamweaver/
---------------------------------------------

"Gary White" <reply@newsgroup.please> wrote in message
news:0f1ot05os97c6vs7o7ud8g0bmfdooam12m@4ax.com...
> .: Nadia :. *TMM* wrote:
>
>
>
> Yes. Do that because I just submitted a blank form before I saw that you
> found the answer. ;-)
>
>
> Gary



Gary White

2005-01-06, 4:14 am

".: Nadia :. *TMM*" <forums@-ozzie-perrelink.com.au> wrote in message
news:cri0or$q53$1@forums.macromedia.com...
> Hi Gary,
> thanks for testing - I did notice it came in :)
>
> I have now added validation and it appears to be working well.



Glad to hear it. Good luck!

Gary


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews