This topic is locked
[SOLVED]

 Checkbox Error

3/16/2020 4:46:32 PM
PHPRunner General questions
A
AlphaBase author

MariaDB TinyInt field.
When saving a record on a form including checkboxes, I get 1 or more checkbox errors "Field should be a valid number" - see image.
In this case it's an existing record with a field value of 1.
What do I have to do to make this work?


Sergey Kornilov admin 3/16/2020

Make sure that under 'Edit as' settings of this field you are not selecting HTML5 input type 'Number'. Change it to 'Text' if 'Number' is selected.

A
AlphaBase author 3/16/2020

It was set to 'text', but just by changing from checkbox to text and back again seems to have fixed it. Strange.

Sergey Kornilov admin 3/17/2020

Strange indeed but I'm glad it worked. Maybe something stuck somewhere.