Checkbox

I want to create a user that have different interests so i made a GUI of checkboxes then save the user checking as a list but unfortunately Backendless doesn’t support ArrayLists at all

Then One of the Admins told me to use relations but it didn’t go either

What to do in this case?

Hi Mahmoud,

You may have a table Interests with a column for each checkbox and a corresponding class Interests in your app with a field for each checkbox. You may even generate this class automatically using the Code Generation tab after creating the table in console.
After that in your app you may just create an object of class Interest, set the fields chosen by user and save this object with a simple Backendless.Data.save( interest ).

Please inform us whether this approach would work for you and if not, please explain why, and optionally what have you already tried to implement and how.