Disabling (greying-out) options on Lotus form

85 pts.
Tags:
Domino Designer
Formula Language
Lotus development
Lotus Notes
LotusScript
I have created a notes (.nsf) database which is having certain checkboxes and text feilds on a form. These fields are editable. Is there any way to disabled(greyed out ) whole form so that no one can change these fileds at certain point. Is there any function to do that whether in lotus-script or formula language. Please help!!!!!!!! --Ashoo

Answer Wiki

Thanks. We'll let you know when a new response is added.

Maybe you sould work with Author field, wich can manage who has the rightd to go in editmode…

You could work with @Command( [EditDocument] ; “1″) to put the document in modification mode or @Command( [EditDocument] ; “0″) to make it display only.

Discuss This Question: 7  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Brooklynegg
    BruceWayne's response is correct (as usual) for controlling the entire form based on an Author field and the proper settings in the ACL. If you want to control one field at a time, you can use the field's Input Enabled event. There are some restrictions on this, so you will have to read about it in help. With this event, even if someone has edit access to the document, the form will prevent them from edting specific fields.
    3,845 pointsBadges:
    report
  • Rita
    Another way would be to create a Computed Section and place the whole document and/or certain fields within the section, make it editable with an author field and Administrators group. Once the document is created and saved, you could then repopulate that field with just a specific group you would allow to modify the document within a computed field.
    55 pointsBadges:
    report
  • Ledlincoln
    Yet another way is to set up one form with editable fields and a different form with only computed fields. The Notes client can then be set up to select the appropriate form for the user.
    1,620 pointsBadges:
    report
  • Mrainer
    You can use an entry field and a display field. Like this: ClientName and DisplayClientName. DispalyClientName inherits from ClientName. So the user cannot edit here. The user must edit ClientName. Then at the point in your workflow that you want to disallow editing, you hide ClientName so that the user can only see DisplayClientName, which he cannot edit. You use a hidden field to turn off displaying ClientName and turn on displaying DisplayClientName. The answers above will control the entire form or a section of a form. My method will allow you to control field by field.
    115 pointsBadges:
    report
  • Brooklynegg
    Mrainer: Your response, although it would work, is the 'old way' to do it. The Input Enabled event of a field controls the field, not the whole form or a section and is the preferred way to control edit access to a field.
    3,845 pointsBadges:
    report
  • Mrainer
    Brooklynegg: You are right. However, using Input Enabled event has a few problems. At least in certain versions. In particular, doesn't work on the web (at least in 7) and doesn't work with richtext fields. Maybe this has been fixed in 8.
    115 pointsBadges:
    report
  • Ashneet
    Hey All, Thanks a lot for your answers. I will try to do the same :-) --Ashoo
    85 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following