c_shelswell Posted May 14, 2008 Share Posted May 14, 2008 Hi I know this is possible just can't remember how to do it. How do you make an input box un-editable? ie <input type='text' name='example' change='false'> That kind of thing Cheers Link to comment https://forums.phpfreaks.com/topic/105569-make-input-box-inactive-not-editable/ Share on other sites More sharing options...
Xurion Posted May 14, 2008 Share Posted May 14, 2008 disabled="disabled" will work Link to comment https://forums.phpfreaks.com/topic/105569-make-input-box-inactive-not-editable/#findComment-540862 Share on other sites More sharing options...
c_shelswell Posted May 14, 2008 Author Share Posted May 14, 2008 great thanks - really couldn't remember how to do it at all Link to comment https://forums.phpfreaks.com/topic/105569-make-input-box-inactive-not-editable/#findComment-540893 Share on other sites More sharing options...
Xurion Posted May 14, 2008 Share Posted May 14, 2008 Even though this will work: <input type="text" name="yourfield" value="" disabled> You should always use this: <input type="text" name="yourfield" value="" disabled="disabled"> Link to comment https://forums.phpfreaks.com/topic/105569-make-input-box-inactive-not-editable/#findComment-540978 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.