FancyPrairie
Programmer
I've got some fields on my page that I don't want certain users to see. However, I don't want to hide the fields (page looks bad) and I don't want to set the foreground/background the same because then the user might think that there is no data in the field.
So I did something like this:
<Input...type=password>
However, if the user decides he wants to edit the data and has privileges to do so, I need to change the type to text or textarea or something so that the user can see the data. It appears that I can't reset the type property once it has been set.
Any ideas on how I can handle this?
So I did something like this:
<Input...type=password>
However, if the user decides he wants to edit the data and has privileges to do so, I need to change the type to text or textarea or something so that the user can see the data. It appears that I can't reset the type property once it has been set.
Any ideas on how I can handle this?