How to put a checkbox in the member area?

Question:
How to put a checkbox in the member area?

Product:
Wix Studio Editor

What are you trying to achieve:
I’m using the Wix-provided member page where my users can see and edit their account and profile data. It is possible to add custom fields to the standard member data. I can choose from Text, Number, Date, URL and Social field types.
What I want to achieve is to have a checkbox on the member page, so something like a Booelean field which is shown as a checkbox.
How can I achive this? I’m open to add code to the page …

Regards,

add a checkbox and link it to the fulldata members database ?

Yes. Both private and public visibility must be possible

yea if you push it to full data it should work, private is based of the full data.
So just add it and link it to the fulldata collection

I’ve tried this!

  • created a Dataset on my page making it “Read/Write”
  • tried to link to my checkbox, but all fields from the dataset are “greyed-out”, so that I cannot select any of them.

This has to do with the field type. There is not “booelan” type which I could add to the members collection and link my checkbox to it. Linking of text fields is working, for instance.

Maybe my question is more about how to store checkbox input in a collection. Coding needed?

Thanks

No coding is needed,

If you created a field key in your database where you want to link it, give it the property boolean, you can link it from the webpage. I have this done in my members section. I have added dropdowns, buttons etc.

Hey how are you doing?

So, you’ve created your own collection to store additional member data?
I cannot extend the standard “Fulldata” collection by a boolan. This type is just not offered when adding a new field to Fulldata …

aha you want to put it in the full data. This is not possible you need to suppres the validation so this means you need to code this. If you cant code JS and use VELO i would suggest create a separated database and store it there.

if you can then look into suppressing validation.

Thanks a lot. I will move forward along your suggestions

did you got it to work ?

Not yet. Just because I’m busy with other things …