Link to home
Start Free TrialLog in
Avatar of damoncwk
damoncwk

asked on

disable button action and text field input based on mail account

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 !
Avatar of Kamalakannan_c
Kamalakannan_c

You can try using javascript to disable the buttons/text fields as per requirement.
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
Avatar of damoncwk

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Bozzie4
Bozzie4
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial