Activity Level<br>
<input type = "radio" id="activitylevel" value="sedentary">Sedentary - Little or no exercise, desk job</option><br>
<input type = "radio" id="activitylevel" value="lightly">Lightly active - Light exercise or sports 1-3 days/wk</option><br>
<input type = "radio" id="activitylevel" value="moderately">Moderately active Moderate exercise or sports 3-5 days/wk</option><br>
<input type = "radio" id="activitylevel" value="very">Very active - Hard exercise or sports 6-7 days/wk</option><br>
<input type = "radio" id="activitylevel" value="extremely">Extremely Active - Hard daily exercise or sports & physical labor job or 2 X day training, football camp, etc.</option><br>
這是否有問題?我花了一個小時看看我的代碼的其餘部分,弄清楚爲什麼我無法將這些值發送到這個表單上,我開始認爲這個代碼有問題。有任何想法嗎?我在網上看過例子,他們不使用'id'?HTML單選按鈕
謝謝,一個非常noobie的問題,但任何指針或幫助表示讚賞。
您是如何得到這些值的? –
用名稱替換ID –