Click to See Complete Forum and Search --> : A simple input form where you sign your name


Dan_Grr
07-23-2008, 12:02 PM
I have this form on my website where people have to sign their name at the bottom. They just type it and press enter or submit and they go redirected to another page, in this case a .php page because it doesn't work with html pages. This works fine with firefox and opera I've tested it, but not on IE. The input field where you should be putting your signature is unclickable and the submit button is not a button and unclickable also. It's driving me crazy!

<form name="formmail" method="post" action="http://www.mydomain.com/redirect-to.php">
<input type="hidden" name="subject" value="Agreement">
<input type="hidden" name="recipient" value="myname@mydomain.com">
<input type="hidden" name="print_blank_fields" value="1">
<input type="hidden" name="redirect" value="http://www.mydomain.com/redirect-to.php">

By entering my signature below, I affirm that I have read, understand and agree to all terms.<br />
<input type="textbox" size="50" name="signature" /><br /><br />

<input type="hidden" name="signature_submitted" value="1" />
<input type="submit" value="Submit" />

</form>



Just a note: that email there is doing nothing, as I didn't received a single thing. All that matters is making this work in IE.

Fang
07-23-2008, 12:15 PM
The snippet works correctly. There is something else in the document causing the problem.

marcusami
07-23-2008, 12:17 PM
<input type="textbox" size="50" name="signature" />< should be

<input type="text" size="50" name="signature" /><

regards
Marcus

Fang
07-23-2008, 12:20 PM
Although "textbox" is incorrect it doesn't affect the form as all browsers will use the input as it's default type "text"

marcusami
07-23-2008, 12:35 PM
mm. is that your exact code?
newhere in yours do you have
disabled attribute - i guess that wouldnt make sense if its only IE

do you have seperate forms elsewhere on the site that is using a javascript to disable and enable input and loading the script on this page as well?

ALSO
what is your doc type
I am not sure at all if this is the problem - but some of your
input elements are self enclosed and some are not this may cause a problem with IE

just a thought
Marcus

Dan_Grr
07-23-2008, 01:48 PM
My doctype is XHTML 1.0 Transitional. Do you think this could be the problem. Well I tried that textbox to text thing, it didn't worked. IE... pffttt, lol.

http://i35.tinypic.com/2j13haa.jpg

aman_batra
07-23-2008, 02:06 PM
try and change the code somewhat i mean make a form other than this signature one and then try to work it on IE

Dan_Grr
07-23-2008, 02:16 PM
I have other forms on my website and they work well in IE. But this one is killing me.

aman_batra
07-23-2008, 02:34 PM
too bad..may i know your site??

Dan_Grr
07-23-2008, 02:39 PM
Sorry I cannot disclose that :)

Dan_Grr
07-23-2008, 03:27 PM
I've made a little test: I've made a new page with no styles whatsoever attached. Just plain text thrown in the page, black text in white background, Times New Roman...

It worked. It must be related to my .css stylesheet, maybe I'm putting inside of divs that don't work well or something like that. It just pains me to see that this page with a different look than the rest of the site. It's a "I agree to the terms" page only, but even then, it'll be on the back of my mind, echoing its difference. Lol I'm crazy.

Thanks for the answers and sorry about the secrecy.