PDA

View Full Version : How to make a text field disabled/grayed out in profile?


007
04-26-2005, 08:55 PM
I want to make a text field show up in the edit profile page, but only be editable by people with so many posts or more.

<input type="text" class="bginput" name="fieldname" value="$bbuserinfo[fieldname]" size="25" maxlength="30" />

How would I do this? I want the field to be grayed out for users with less than a certain number of posts.

Thanks.

~007

Marco van Herwaarden
04-26-2005, 08:59 PM
<input DISABLED type=.....

007
04-26-2005, 09:02 PM
Hey thanks Marco! That was easy.. Wow.. I am an idiot. :) Thanks!