Solved

disable button action and text field input based on mail account

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
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
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

735 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