- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2020 01:29 PM
What is the best practice or preferred method of duplicating fields on the same record, when that additional field would be for information only?
In other words, we don't want to actually store data for that field. That would be a waste of resources. We want something like a label that copies content over from another field. Like an annotation sort of.
This form has multiple tabs. In this tab is a writable field "specific recommendations."
In the next tab, our customer wants to duplicate that same field. I managed to accomplish this by creating a new field, and setting the calculated value field to assign the contents of the original field to the second field.
The problem with this approach, is that data gets permanently saved in the field, taking up unnecessary storage space. If I run a report on that additional field, the data shows up in the report.
We don't want that. We want a label, or information only.
An annotation won't work because it is static. I couldn't figure out how to manipulate it with code.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2020 02:04 PM
Hi,
I believe someone mentioned in another thread that you could click on the other section and then place that same original field again...in that other section. So that it's just a basic replication of the same field. Have you tried to click on the section in the form layout settings page and place it there a second time?
Me personally...I would say it's a training issue and the team just needs to know it'll be under the one section...OR...if needed to be under multiple sections, then just bring it out of the sections altogether and place as a main form component...but...
I believe as I mentioned you can add the field again to the other section.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2020 02:04 PM
Hi,
I believe someone mentioned in another thread that you could click on the other section and then place that same original field again...in that other section. So that it's just a basic replication of the same field. Have you tried to click on the section in the form layout settings page and place it there a second time?
Me personally...I would say it's a training issue and the team just needs to know it'll be under the one section...OR...if needed to be under multiple sections, then just bring it out of the sections altogether and place as a main form component...but...
I believe as I mentioned you can add the field again to the other section.
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2020 04:53 PM
Hi,
Thanks for marking my post as Helpful.
If it ended up answering your question or best guiding you to it, please also mark it as Correct.
If you still need assistance, let me know!
Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 06:32 AM
I'll go ahead and mark your post as correct. I tried doing as you suggested, re-using that same field in multiple areas had no effect on the data.
My only problem was we wanted to make the second field read-only, and I learned you can't do that.
Whatever change you make to one copy will effect all of the other copies. Only other control would be to re-create another field and give it the same label name.
That is what I was trying to avoid, duplicating the data.
Thanks for your help!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 06:59 AM
Hello,
Technically...you "can" make it read-only but through DOM manipulation which is not best practice nor recommended...I just wanted to say you "could":
Anyways, yes, my response was to give you the information to allow you to reuse the same field without creating a brand new one. My method accomplishes this.
The second option would be to do training for the users to know to look under the one tab.
Third option and definitely last, DOM manip.
Take care!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!