cgiemail form won't work in Safari but works in IE & FF
Hey all - I setup a cgiemail form here -> http://printnetinc.com/checkout/business_form.html
and it works perfectly... except for Safari. It doesn't make sense, it even works in Opera.
Does anyone know of a way I can get this form working with Safari as well OR why only Safari would be affected?
Thanks
ihomebrewbeer.com - A social network for home brewers and beer lovers
greg posted this at 18:01 — 7th April 2009.
He has: 1,581 posts
Joined: Nov 2005
I can't help you "directly" with the issue with Safari (I don't run it on my OS), but having the entire form in one table cell is a bit of a weird approach.
(It "may" be the reason it doesn't work well in Safari)
There are better ways to approach this with CSS forms, but even having each input (name, address etc) as one table row would be better.
decibel.places posted this at 18:53 — 7th April 2009.
He has: 1,494 posts
Joined: Jun 2008
form works okay by itself in Safari for Windows (see attached)
maybe it has something to do with the container as greg suggested
as a matter of style I would write the FORM tag on a single line, although I do not think it matters functionally:
<FORM METHOD="POST" ACTION="http://printnetinc.com/cgi-bin/cgiemail/checkout/formtemplate.txt">
(Yours breaks after "POST")
** you get an error msg if the first name is not entered - you should have some better validation process that doesn't "break"
nickhead posted this at 20:28 — 7th April 2009.
They have: 9 posts
Joined: Apr 2009
Hey Thanks guys. I should have been more specific - the form itself works fine, it's the redirect that was busted in Safari.
Turns out I misread the original instructions and butchered the url structure of the link to the redirected page. Whyyy it only didn't work in Safari is beyond me. But Safari is a jerk in general, so it makes sense.
Thanks! I really appreciate you guys taking a look.
ihomebrewbeer.com - A social network for home brewers and beer lovers
greg posted this at 20:56 — 7th April 2009.
He has: 1,581 posts
Joined: Nov 2005
That said, I would guess that's not likely to be a browser specific issue, certainly not on its own, and more likely to be something else.
Such as editing redirect code and re-testing but not clearing the browser cache, or perhaps you have a plugin/extension that s fouling the redirect.
nickhead posted this at 21:37 — 7th April 2009.
They have: 9 posts
Joined: Apr 2009
Turns out I misread the original instructions and butchered the url structure of the link to the redirected page. Whyyy it only didn't work in Safari is beyond me. But Safari is a jerk in general, so it makes sense.
I figured it out - thanks guys.
ihomebrewbeer.com - A social network for home brewers and beer lovers
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.