html5 input date empty on post php -
i'm using html5 input date type. after posting, see input empty, , other inputs (html4 types) ok.
what reason?
this form:
<form action="/sgm/index.php?r=manager/addcoach_post" method="post"> <div class="registerfeildarea2"> <div class="registertxtp2">family name</div> <div class="registerfeild"> <input name="lname" type="text" value="" size="" class="registerfeildvalue" /> </div> </div> <div class="registerfeildarea"> <div class="registertxtp2">first name</div> <div class="registerfeild"> <input name="fname" type="text" value="" size="" class="registerfeildvalue" /> </div> </div> <div class="registerfeildarea2"> <div class="registertxtp2">address</div> <div class="registerfeild"> <input name="address" type="text" value="" size="" class="registerfeildvalue" /> </div> </div> <div class="registerfeildarea"> <div class="registertxtp2">city</div> <div class="registerfeild"> <input name="city" type="text" value="" size="" class="registerfeildvalue" /> </div> </div> <div class="registerfeildarea2"> <div class="registertxtp2">birthdate</div> <div class="birthdayfeild"> <input name="bdate" id="meeting" type="date" value="2011-01-13"/> </div> </div> <div class="addbtn"><input name="next" type="submit" value="הוסף" class="addbtnvalue" /></div> </form>
and when actionaddcoach_post()
, fields ok except bdate.
what reason?
Comments
Post a Comment