Skip Navigation

[Assigned] Radio select field empty when making minor changes to values

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 1 voice.

Last updated by danielL-13 2 days, 10 hours ago.

Assisted by: Minesh.

Author
Posts
#2805967
Bildschirmfoto 2025-04-21 um 09.47.27.png
Bildschirmfoto 2025-04-21 um 09.47.48.png

I am trying to: Doing some minor changes to a radio buttons field

I expected to see: Updated values

Instead, I got: All selections on all posts are empty and have to be re-selected

Whenever i do minor changes to the values in the radio field, the selection is being reset and empty on all posts.
E.g. if i want to change the text or the link in the values field, i have to work through all posts again an select the right value.
This is quite a big problem, since the site has a growing number of posts.

I am adding the field to a template via a shortcode:

[types field='location-des-konzerts'][/types]

Please help!

Thanks,
Daniel

#2805992

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - what you see is the expected result.

For instance, you have created the Radio filed with the following options:
- Display Text: China and Value: china
- Display Text: USA and Value: usa
- Display Text: Canada and Value: canada

Now, you added few posts where you selected the Radio option "USA" and it will store the value into database as usa.

Now, you change the value for the option "USA" from usa to America, so in database for all the posts you added where you selected the option "USA" will have the value stored into the database as usa hence when you change the option value to America it will loose the current selection because before change the value stored to database was usa and now you changed the value to America.

What you see is expected results and there is no alternate solution I've to offer you at the moment. We discourage to change the option value or you will be responsible to update all the existing posts with the new value.

#2806780

Hi Minesh,

thanks for your reply!

I understand.

I do not find this very convinient - the fields are changeable in the wordpress backend.
There should at least be a notice that any change will break things.

From a database design point of view this behavoir makes little sense. It would be easy to handle things differently.

If possible, I'd like to suggest this as a feature request – either by warning users when changing values, or by introducing a way to preserve existing selections.

Kind regards
Danile