Hi, how to make a checkbox clickable only once and then disable it after it's clicked?
hi Mur,
in your checkbox container click and set Boolean variable of enabled property and set false when u click on checkbox .
thanks
cv
Hi,
Set the checkbox enabled property to false, in the handler of Onchange event.
Hi @Nur Liyana Zahirah Mohd Nazri ,
Is the default value of your checkbox unchecked (0)?
Although having a variable that will be used in the Enabled will work, it will be back to enabled if you refresh the page or if you go back to the page in the future.
I would suggest that you use the value of the checkbox in the Enabled.
Enabled = not IsChecked
BUT, if it can be checked initially and then unchecked (and disabled later), you might need to save the status if it was already clicked.
If you don't need any of these and just want to disable it at that point, then you can use the ones suggested above.
Regards,
Bryan
Hi Nur Liyana Zahirah Mohd Nazri,
Below I attached sample OML you can check how to implement that functionality.
Hope this helps you!!
Rajat