Gossamer Forum
Home : Products : DBMan : Customization :

Re: [jeffa] Need Field User viewable but only admin editable

Quote Reply
Re: [jeffa] Need Field User viewable but only admin editable In reply to
I think I have answered my own question thru experimentation. Inside html.pl I managed to do what I wanted by creating 2 different subs for html_record and html_record_form. Inside all of the Modify Subroutines, I called the second subs html_record2 and html_record_form2. For the fields I wanted to be viewable by all but only editable by admin, I modified these secondary subs so that the fields I was interested in doing this with would be hidden unless the user had admin permissions. This way, the values of the field would still be stored... but not seen. And... since all other subs such as the Search and View subs still used the original html_record_form and html_record, the fields I had set to only be modifyable by admin still displayed normally.
Subject Author Views Date
Thread Need Field User viewable but only admin editable jeffa 2482 Nov 19, 2002, 12:11 AM
Thread Re: [jeffa] Need Field User viewable but only admin editable
jeffa 2405 Nov 19, 2002, 1:54 AM
Thread Re: [jeffa] Need Field User viewable but only admin editable
LoisC 2398 Nov 19, 2002, 10:15 AM
Thread Re: [LoisC] Need Field User viewable but only admin editable
jeffa 2403 Nov 19, 2002, 12:29 PM
Post Re: [jeffa] Need Field User viewable but only admin editable
LoisC 2405 Nov 19, 2002, 4:48 PM