Skip Navigation

[Gelöst] Changing Field Types

This support ticket is created vor 6 Jahren. There's a good chance that you are reading advice that it now obsolete.

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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

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

Supporter timezone: America/Jamaica (GMT-05:00)

Dieses Thema enthält 3 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von Shane vor 6 Jahren.

Assistiert von: Shane.

Author
Artikel
#1146019

Hi - I chose a checkbox format when I should have chosen a selector drop-down field for single entry.

Because I used the same fields as the product input fields, I have several hundred pages that were created using the original checkbox field which contains 14 field options.

Can these field types be changed from checkbox to selector and transfer existing field entries?

#1146076

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Charles,

Thank you for contacting our support forum.

Unfortunately no its actually not possible to do this. The field structure and how they are stored is completely different so it wouldn't be possible to switch them.

What you will need to do is to create a completely new field for your select.

Thanks,
Shane

#1146101

Hi Shane,

The custom fields that make up the content for the product page template are the same fields I used for the search form. 11 fields in a group.

There are two fields that relate to color selection for the product pages. Can I create an alternate field group > create two alternate color selector fields specifically for the form and use the original checkbox fields for the product page content.

In this case, will the new color fields used in the search form, search the color data from the checkbox fields in the product page template?

Do the content fields and the search fields all have to be the same?

#1146570

Shane
Supporter

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi Charles,

Unfortunately no it won't

That is because the field that you create in types is directly related to the field that is used in views to search.

So it wouldn't work. You will need to add the color picker filters on the frontend to target the color custom fields but they can't be used to target the checkbox field.

Thanks,
Shane