2016-08-09 12 views
0

私のhtml 5の検証はiphoneで動作していません。 私は自分の入力フィールドでrequiredを使用しています。 iphoneでhtml5の検証が機能していません

<input type="text" class="form-control" id="estimated_budget" placeholder="Estimated Budget" name="estimated_budget" required = "true"> 

答えて

1

それは次のように指定しています。この

<input type="text" class="form-control" id="estimated_budget" placeholder="Estimated Budget" name="estimated_budget" required = "required"> 
+0

を試してみてください: 'の '値なし https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-required –

+0

はい、値の有無にかかわらず指定できます。 –

関連する問題