Solved

make an editable field non-editable after first save

Posted on 2006-06-15
4
541 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
this is not a webform... but thanks for the tip. I'll use the computed text and hide this field....
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now