Skip Navigation

[Resolved] Change Custom Field from Number to Single Line

This thread is resolved. Here is a description of the problem and solution.

Problem: I have a custom field that was previously a Number, and is now a Single Line. However, when I try to use text in the field it still validates for numeric content. I cannot use text.

Solution:
You may have to make a change to update the field validation.
- Toggle the "Required" checkbox for this field, then save the field group
- Toggle the "Required" checkbox again, then save the field group again

This support ticket is created 6 years, 11 months ago. 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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by garyF-3 6 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#607525

I am trying to: enable text and numbers to be input in a Custom Field

Initially a custom field was set as being a number. This was for VAT/TAX purposes, however, we work with clients across several countries and some need text and number.

I changed the field in the Custom Field group to number.

I expected to see:
That the field accepts numbers and text. However, it comes up saying that it requires a number still.

#607751

Try this:
- Check the "Required" checkbox for this field, then save the field group
- Uncheck the "Required" checkbox, then save the field group again
- Test the field in the post editor
Let me know if this does not resolve the issue for you.

#607938

Worked - thank you so much