Solved

make an editable field non-editable after first save

Posted on 2006-06-15
4
550 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Querying received e-mails from an agent 7 205
Lotus notes error message 6 102
Bulk lotus notes account creation 3 82
Lotus Domino server 9 7 79
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

825 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