Solved

disable button action and text field input based on mail account

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

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…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now