Forum Moderators: mack

Message Too Old, No Replies

problem with simple form

the html code

         

stef25

8:22 am on May 13, 2004 (gmt 0)

10+ Year Member



provided the script is correct, should this form work?

when i press submit nothing happens. howevere when i insert the script in an excercise in w3 schools it works ... maybe something with the html code below?

im using formmail

i would be most grateful for some advise

thx,
stefan

<form action="http://www.example.org/calamansi/scripts/calamansi_contactus.pl" method="POST" enctype="multipart/form-data" name="contactform">
<p>Name
<input name="realname" type="text">
</p>
<p>Email
<input name="email" type="text">
</p>
<p>Your Message to us</p>
<p><textarea name="message" cols="40" rows="5" id="message"></textarea></p>
<input name="submit" type="button" value="Send!" />
<input name="redirect" type="hidden" value="http://www.example.org/calamansi/redirect.htm" />
<input name="subject" type="hidden" value="calamansi form submission" />
<input name="recipient" type="hidden" value="calamansi@example.org" />
<input name="required" type="hidden" value="email, realname" />
<input name="print_config" type="hidden" value="email, realname" />
<input name="missing_fields_redirect" type="hidden" value="http://www.example.org/calamansi/error.htm" />
</form>

[edited by: DaveAtIFG at 12:27 pm (utc) on May 13, 2004]
[edit reason] Exemplified domain name [/edit]

Krapulator

12:19 pm on May 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Try:

<input name="submit" type="submit" value="Send!" />

instead of

<input name="submit" type="button" value="Send!" />

stef25

12:40 pm on May 13, 2004 (gmt 0)

10+ Year Member



many thanks ... should have found that one myself!

stef