I am looking for a way to create multiple custom label fields that access the same set of labels. For example:
* Serial Number(s) Requested
* Serial Number(s) Received
Both of these fields should autocomplete from the same set of labels, i.e. the set of serial numbers that exist.
Is there any way to do this?
Another related question is, can "aliases" be created for a label field? For example, if I want to refer to a given label custom field by one name in screen X and a different name in screen Y, but use the same set of labels in both contexts.
Thanks very much.
Not natively. The point of each label field is that they are separate, and generally, if you need the same lists, you use the same field.
I suspect you'll need to do some coding to achive this.
For the second question, again, coding is the only way to address it, but I actually suspect it's a dreadful idea because the whole point of a label is to use the SAME word to tie together things that are generally unrelated in any other way.
Thanks for the response. There are definitely cases that this is useful, where you want to capture a tag and allow it be be reused in other contexts. I may need to refer to the same "thing"/token with different intentions. Either of the above addresses this, though I agree that the second is a bit hacky.
Any suggestions on where to start if I were to do some coding to address this? I guess I could make N fields, one for each use of the common label, and have some hook to replicate the label to each of the N-1 fields when it is added to one. This obviously sounds like a really bad idea though, hard to maintain and ensure consistency.
Any thoughts on a more graceful alternative?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to accept an answer as correct to "close" a question.
(My answer was 90% of what you needed, sorry I didn't manage to follow up with "no, sorry, there are no graceful alternaties, you need to write code")
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.