rsammy Posted April 17, 2007 Share Posted April 17, 2007 how can change this field, a text box, to a display only(non-editable field) in php? <td width="196" height="22"> <div align="right"><font class="inputLbl">Date: </font></div></td> <td width="130"> <input name="datebox" class="txtbox" value="<? is it possible to make datebox a display only field? i dont want users to be able to enter invalid dates here. they should only be able to enter date from the datebox feature(a calendar pop-up). that feature works with all validations in place. its only when users enter (manually type) a date in the text box that valiations dont work(for instance, 05/32/2007 is taken as a valid date!) i want to change the datebox field to a display only field. thanx Quote Link to comment https://forums.phpfreaks.com/topic/47436-solved-display-only-field/ Share on other sites More sharing options...
Barand Posted April 17, 2007 Share Posted April 17, 2007 <input type='text' name='date' readonly> Quote Link to comment https://forums.phpfreaks.com/topic/47436-solved-display-only-field/#findComment-231469 Share on other sites More sharing options...
rsammy Posted April 17, 2007 Author Share Posted April 17, 2007 thank you sir! issue resolved! Quote Link to comment https://forums.phpfreaks.com/topic/47436-solved-display-only-field/#findComment-231503 Share on other sites More sharing options...
rsammy Posted April 17, 2007 Author Share Posted April 17, 2007 resolved Quote Link to comment https://forums.phpfreaks.com/topic/47436-solved-display-only-field/#findComment-231505 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.