Solved

disable button action and text field input based on mail account

Posted on 2004-04-25
4
272 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
  • 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need a tweak in Column code (in Notes view) 5 62
Lotus Notes and VMWare require a double-click 22 1,419
Lotus Domino 9 web server 6 93
Adding a named anchor in a Lotus Notes Form 6 99
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

860 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