Solved

make an editable field non-editable after first save

Posted on 2006-06-15
4
551 Views
Last Modified: 2013-12-18
hello experts,

is there a way to make an editable field non-editable after first save.
that is when Not @IsNewDoc I want to make this editable field as non-editable. User
should only be able to enter text in this field for the first time.

Please advise.
thanks
0
Comment
Question by:chakrika
4 Comments
 
LVL 15

Accepted Solution

by:
mshogren earned 50 total points
ID: 16914812
One way to accomplish your goal may be to use a computed field which computes to the value of the original field.  Then use @IsNewDoc in the hide formulas of the two fields to ensure that only one of the fields shows at once.
0
 
LVL 43

Assisted Solution

by:Steve Knight
Steve Knight earned 25 total points
ID: 16915256
Same difference as above really but I tend to use a piece of computed text and an editable field these days... and hide-when formulas as above.

Steve
0
 

Assisted Solution

by:Leepingtang
Leepingtang earned 25 total points
ID: 16932577
You may want to do that at the PostOpen level that picks a value from a field to hide the edittable field and display it on another field that is computed which contains the value of the hidden field.
If this is a webform, then u might use the "document.forms[0].fieldname.disabled = true.
Hope this helps.


0
 

Author Comment

by:chakrika
ID: 16969783
this is not a webform... but thanks for the tip. I'll use the computed text and hide this field....
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

756 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