I cannot get the value to be converted and the field is not accepting any value.
I have a boolean field. it’s not accepting anything. I tried it through content manager or corvid, but I can’t insert the value.
The same is happening for another field of type integer
What to do?

#content_manager
#convert_not_available
Control the settings of your form.
Sorry I don’t understand, I’m not using any form
@marciokricheldorf
Sorry, you do not give enough input!
- Where is your code?
- I see that you have a TYPE-ERROR, but i do not see your process.
- How do you fill your DB ?
What is the action-flow of your project?
Try to give more detailed information, i am not a …
A TYPE-ERROR occures when you are trying to put an INTEGER into a STRING-FIELD oder a BOOLEAN-VALUE into a INTEGER-FIELD, or vice versa.
Yes of course, @russian-dima
I’m using a Dynamic Page
My Dataset looks like: Read & Write
In my insert, I am passing something like:
"myFieldBoolean": $w("#switchMyField").checked
What is strange is because I can’t fill the field directly using the content manager
@marciokricheldorf
Now i understand your problem.
Can it be that your fields were created automaticaly?
I try to insert a data through the content manager , but do not accept anything.

Already tried to delete this Field and create a new one?
Does it work ?
@russian-dima
I created them manually.
I have other boolean fields in this collection and I can fill them in via the content manager normally, but I don’t know why I’m not accepting it.
@russian-dima
I deleted and recreated the field with the same name and type, but returned to the same situation
It looks like I have a serious problem with Wix Content Manager , which may have corrupted my entire collection.
I hope I’m wrong, imagine if this happens to a customer’s populated collection.
@marciokricheldorf
- Secure the data of the DB —> EXPORT-CSV-DATA (first)!
- Try to change the TYPE of BOOLEAN-REFERENCE to —> STRING-TEXT, what happens? (If possible work in PREVIEW-MODE NOT WITH LIVE-DATA).
When you need more assistance, you will can find me on my site.
@russian-dima
Same thing, I can’t popular the field. Let’s see what Wix says about this, but thank you for your help.
