1

私はこれを持っていますが、何らかの理由で、seller_email の入力が送信されません。何が問題なのか、どうすれば修正できるのか教えてください。もちろんjavascriptなしで。

<form name="input" action="mail.php" method="post">
name: <input type="text" name="name"><br>
<select name="seller_email" form="input">
<option value='hello@example.com'>hello@example.com</option>
</select>
 Address: <input type="text" name="bank_address"><br>

<input type="submit" id="submit" value="Submit">
</form>
4

1 に答える 1

0

form="input"選択ボックスには必要ありません。また、予約語である可能性のある入力のような名前をフォームに付けることも避けます。

<form name="myForm" action="mail.php" method="post">
 name: <input type="text" name="name"><br>
 <select name="seller_email">
  <option value='hello@example.com'>hello@example.com</option>
 </select>
 Address: <input type="text" name="bank_address"><br>
 <input type="submit" id="submit" value="Submit">
</form>
于 2013-02-17T16:26:13.597 に答える