Solved

disable button action and text field input based on mail account

Posted on 2004-04-25
4
280 Views
Last Modified: 2013-12-18
Hi,
I would like to disable/enable/visualise/hide button and text field input
based on different mail accounts. I tried to make it under the same
section whose access control is based on mail account. However due to
design issue i cannot group all button and text field inputs using
the sections approach.

Is there any way out? THanks !
0
Comment
Question by:damoncwk
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Expert Comment

by:Kamalakannan_c
ID: 10915241
You can try using javascript to disable the buttons/text fields as per requirement.
0
 
LVL 15

Expert Comment

by:Bozzie4
ID: 10915614
Use Hide formula's ...

What do you mean 'Mail Accounts' ?  Are you trying to change the design of the mail template (I hope not) ?  Or are you talking about Users ?

Read up about hide formula's and user roles  in the Designer help.  This will get you going.  It's probably not sections that you need to use.
Short : define roles in the ACL of your database, and assign these roles to the people you want.  Now use a formula like @userroles != "[TheRole]" in the 'hide formula' properties box  (for the text or for the control (action/field/...) to hide the thing it the user doesn't have the required role.

cheers,

Tom
0
 

Author Comment

by:damoncwk
ID: 10915663
Hi Tom,
thanks for your comment.
Yes i knew the hide formula but then
if i want to disable it rather than hide the button then
the hide formula cannot do this, right?
0
 
LVL 15

Accepted Solution

by:
Bozzie4 earned 125 total points
ID: 10915989
No, but what you  then do is create 2 buttons - 1 that's merely an image, and that you show when you want to 'disable' the buttong, and 1 that's the actual button, and that you show when you need it.

If you want to do the same in action buttons, you can't really disable a button in R5, although you could do something similar (create 2 sets of buttons).
In R6, you can disable a button in the action bar.

cheers,

Tom
0

Featured Post

Want Experts Exchange at your fingertips?

With Experts Exchange’s latest app release, you can now experience our most recent features, updates, and the same community interface while on-the-go. Download our latest app release at the Android or Apple stores today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
IBM Notes offer Encryption feature using which the user can secure its NSF emails or entire database easily. In this section we will discuss about the process to Encrypt Incoming and Outgoing Mails in depth.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question