How do I create a checkbox in Thunkable X?

Hey,
I need to create an option for the user to select a checkbox that either becomes marked as checked or makes the adjacent text have a strike through. I can’t seem to figure out how to do so, any help please?
Thanks

1 Like

Hi,

the Buttons screen shows one way.

https://x.thunkable.com/projects/5be813b36245ad2916513266/project/properties/designer/

1 Like

Thanks for the help @actech!
I can’t seem to open and test the app though, I’m not sure if it’s an issue with android but when I try to open the project on the app, it crashes. I also don’t see anyway to copy the screen to another project…

You’re right. Now this application really falls on Android. It is generally interesting behaves. Then after small changes it falls under Android, then it starts working normally. Thanks to this, you can monitor how well Thunkable X works stably under Android.

In fact, everything is simple. You can use the button and Unicode characters or images for the button.

  1. Create the variable check = false and call the state check function checkState
  2. Create a checkState state check function. If check = false, then show the Unicode symbol or the image on the button corresponding to the disabled state, if check = true - enabled
  3. When you click on the button, change the check to the opposite value check =! сheck and then call the state check function checkState
1 Like

Yeah the Android app does behave strangely from my experience…

Thanks for all the help again @actech! I’ll try messing around and testing with these blocks.

Basic example

%D0%B8%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5

3 Likes

Where did you find the Checkbox ?

It looks like a unicode ballot box to me @Mehmud.

It can be empty, with a check or, with an X.

1 Like

how do u insert a unicode character in the block part? i tried with 2611 ALT X but nothing

You can copy it :thinking:

2 Likes

Yep, I just used copy and paste to do this.

1 Like

Hi

Sample on scrButtons or scrLists

https://x.thunkable.com/projects/5d370bd8814895afb4300c50/project/properties/designer/

1 Like

thanks, i didnt think of copy and paste, just the code and ALT + X :woman_facepalming:

1 Like

thank you very much!!