Value should be a number but right now it is text? Input form is selected as numbers only

Hey so the number input element is set to input to numbers only and the database is expecting number, so why is the error showing?

What is the solution for this?

Can you share a link to your editor? It’s tough to diagnose these things without seeing how you’ve it built. Thanks!

2 Likes

Do you mean the input is set to “text (numbers only)” because that’s actually still a text. If the database field is set to number, then you’ll want the input content type to be integer, decimal, currency, or percentage.

4 Likes

This topic was automatically closed after 70 days. New replies are no longer allowed.