Forum Moderators: coopster & phranque

Message Too Old, No Replies

Form Mail Perl Script works in Firefox but not IE

Form Mail Perl Script works in Firefox but not IE

         

deborah123

2:53 pm on Oct 28, 2008 (gmt 0)

10+ Year Member



Hi,

I am using Matts formmail script avaliable on the web, it is working in firefox,
but when i test the script in IE the textbox values are not been passed through...

Any1 got any ideas...

most appreciated,

deborah

rocknbil

3:22 pm on Oct 28, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome aboard deborah123, in the absence of full details a little deductive reasoning might lead us to the following conclusions:

- If it's working in one browser and not the other, we can guess that it's obviously something going in in the client side.
- As to what is going on, note that some browsers will "fix" page coding errors where others won't. So I suggest running your form page past the W3C validator [validator.w3.org] until they come up green (100% validated.)
- If you still have the same problem at this point, you might remove all Javascript if it's present, it may be choking on or not properly setting values that you think it should be.

In either case if the script runs in one browser and not another, it's *unlikely* to be a server side script issue.

deborah123

3:47 pm on Oct 28, 2008 (gmt 0)

10+ Year Member



Hi thanks very much for answering so quickly!

I have just code the code from the viewstate... and noticed that I don't have the input tags set properly for the email and name... this may be the problem..... I will try this.... thanks again!
Deborah

<form action="formmail/FormMail.pl" method="post">

<input type='hidden' name="recipient" value="name@example.com"/>
<input type='hidden' name="subject" value="Newsletter Results"/>
<input type='hidden' name="required" value=""/>
<label>Name* </label><input name="" type="text" value="" size="17" maxlength="200" />
<label>Email* </label><input name="" type="text" value="" size="17" maxlength="200" />
<input name="register now" type="submit" width="136" height="27" value="Newsletter" class="form-button" />

<input type='hidden' name="redirect" value="form2.html">

</form>

[edited by: phranque at 4:00 pm (utc) on Oct. 28, 2008]
[edit reason] removed specifics [/edit]

phranque

4:03 pm on Oct 28, 2008 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



welcome to WebmasterWorld [webmasterworld.com], deborah!

probably don't want to expose your email address in the form or you will get spammed.