Page 1 of 1

Can anyone help with my form?

Posted: Sun Feb 10, 2019 6:52 pm
by wiggenhall
Can anyone help with my form?

I'm a new user and I am having problems with my first form.

Please see

http://www.wiggenhall.net/contact.php

WB14 Object HTML:

<div id="wb_Form1" style="position:absolute;width:731px;height:605px;">
<form name="comments" method="post" action="<?php echo basename(__FILE__); ?>" enctype="multipart/form-data" id="Form1">
<input type="hidden" name="formid" value="form1">
<label for="TextArea1" id="Label1" style="position:absolute;left:10px;top:15px;width:64px;height:12px;line-height:12px;z-index:12;">Comments:</label>
<textarea name="comments" id="TextArea1" style="position:absolute;left:92px;top:15px;width:190px;height:90px;z-index:13;" rows="4" cols="29" spellcheck="false"></textarea>
<input type="submit" id="Button1" name="" value="Submit" style="position:absolute;left:92px;top:120px;width:96px;height:25px;z-index:14;">
<input type="reset" id="Button2" name="" value="Clear" style="position:absolute;left:92px;top:150px;width:96px;height:25px;z-index:15;">
</form>
</div>

My webserver is running PHP Version 5.6.37

The webpage, using Google Chrome, just flickers and the status bar reads "Waiting for www.wiggenhall.net".

Please let me know if I need to provide any more information.

Thanks

Re: Can anyone help with my form?

Posted: Sun Feb 10, 2019 9:07 pm
by robertz
Your inserted code is correct.
But your page setup is incorrect, your constantly redirecting to itself.

go to Page properties > miscellaneous > Redirect > Do not redirect

<meta http-equiv="refresh" content="0; URL=./contact.php">

Re: Can anyone help with my form?

Posted: Mon Feb 11, 2019 7:01 am
by wiggenhall
robertz

Thank you for your prompt response. All OK now.

The redirect was not intentional, I've no idea how that happened. :oops: