Form type | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Form type

what is the function for value in checkbox type?

23rd May 2017, 6:02 AM
Dicky Arya Kesuma
Dicky Arya Kesuma - avatar
1 Answer
+ 1
You can store some data, and then if is checked do something with this data. For example, you can store 20 in the value, and then, if is checked, add 20 to variable, else, don't add.
23rd May 2017, 6:16 AM
Jordi Montorio Rocafull
Jordi Montorio Rocafull - avatar