I have a list of users that have accesslevel of 1,2 or 3
Level 1 users should not be able to change the contents of a listbox, level 2 and 3 should
here's what I've got
<% if session("AccessLevel"
=1 then
enablelist = "False"
else
enablelist = "True"
end if
%>
<select name="select" size="1" READONLY = <%= enablelist %>>
</select>
I don't want to use DISABLE because I need to pass the value to the next list box (and the next page eventually)
any help is appreciated.
thanks
Rob Mills
System Analyst
Correctional Services Canada
(all statements are my own and do not reflect on my employer)
Level 1 users should not be able to change the contents of a listbox, level 2 and 3 should
here's what I've got
<% if session("AccessLevel"
enablelist = "False"
else
enablelist = "True"
end if
%>
<select name="select" size="1" READONLY = <%= enablelist %>>
</select>
I don't want to use DISABLE because I need to pass the value to the next list box (and the next page eventually)
any help is appreciated.
thanks
Rob Mills
System Analyst
Correctional Services Canada
(all statements are my own and do not reflect on my employer)