Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

disable button action and text field input based on mail account

Posted on 2004-04-25
4
Medium Priority
?
287 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 375 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

783 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