ODBiC Discussion Board


RE: How to pass 'disabled' form variables, Jon Grosse, 09-20-2007

use either hidden or adding if logic

by Gordon, September 20, 2007 08:13

Jon,

If you have user cookie enabled, then you can do the following: 1. Add the hidden value in your form when the drop-down is disabled.

or

2. Depending on the user privilege, either show the drop-down list or pre-selected value within your form. Something like: <!--IF UserPrivilege <=1 --> show drop-down list .... <!--ELSE --> show pre-selected value .... <!--ENDIF -->

Thanks.

Gordon



Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.