CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 avoid unauthorized users from clicking on a textbo

Print topic Send  topic

Author Message
Nardi
Posted: 06/27/2002, 9:59 AM

How can I write a custom code onclick on a textbox in order not to allow to add if the users is not the right one
Chris K.
Posted: 06/27/2002, 12:40 PM

Do you want client-side event or server-side? With client-side (Javascript) problem is user can turn-off Javascript processing and bypass this security.

You could check user rights in BeforeShow event, fix HTML template to include template variable within <input ... > tag to add readonly attribute if required also.

Another solution could be to put both label and textbox and hide appropriate control according to user rights.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.