Solved

make an editable field non-editable after first save

Posted on 2006-06-15
4
560 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

630 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