damoncwk
asked on
disable button action and text field input based on mail account
Hi,
I would like to disable/enable/visualise/h ide 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 !
I would like to disable/enable/visualise/h
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 !
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
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
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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.