我已經使用了godaddy之前給出的webformmailer.php,沒有任何問題。現在,無論出於何種原因,這個新網站都無法運作。任何人都可以看看這段代碼,並告訴我它有什麼問題或缺少什麼。Web表單不能正常工作
由於提前
<div id='form_wrap'>
<form id="contact-form" formaction="webformmailer.php" method="POST" >
<p id="formstatus"></p>
<textarea id="inputtext"></textarea>
<input type="text" name="name" value="" id="username" placeholder=" Full Name" />
<input type="text" name="email" value="" id="username" placeholder=" Email " />
<input type="submit" name ="submit" value="Submit" />
</form>
</div>
這是'行動',而不是'formaction' – andrewsi
,你有重複的元素ID,這是不好的 – Orangepill
......更不用說GoDaddy了。 –