Home › Forums › General Issues › Best practices for "maintainable" select fields that don't reset content? › Reply To: Best practices for "maintainable" select fields that don't reset content?
Thanks, this is indeed how I understand it. This makes sense and I understand it is easier said then done, but it would be very useful to be able to have the reverse functionality – the ability to have the field “hold on to” the label but allow the value to be adjusted. Just to give you my test case usage, I am building a
Employment History list, so I put together a list of universal
Job Duties that I would apply to different positions which I could then select for each position from a dropdown. Now I have all of them selected on the page, but want to reword the actual value that gets outputted on my site. So now it looks like I will need to set the wording of the value in stone and then go back and select them all again. This means if I ever need to update them its a complete redo, which is why I was hoping the field could lock onto the
Label (only displayed to admin so not so worried about the wording) which would allow the value (displayed to visitors, so thats what really could use flexibility) to be updated without blowing up my existing page selections. Of course it may just be that the
select field isn’t the appropriate solution for such a case (and I am very appreciative of any alternate suggestions) but it seems anytime the value gets changed it blows up any previous selections (makes total sense if a bit less flexible than I would hope for in a perfect world). Thank you!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.