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 Quote 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 Quote 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 Quote 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"> Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.