@kaamiik
Posted
Congrats for doing this. I just see when uncheck all the checkboxes and generate password It produce bunch of undefined
. You can add a alert()
to your code to ask the user to check at least one item.
@matbac85
Posted
@kaamiik
I hadn't noticed this problem. I'd just made sure that a check box was checked at the start, but I didn't anticipate that a user would uncheck all the check boxes.
What I did was to put a disable attribute on the button and make sure that it remained disable until at least one check box was checked.
Thank you again for your feedback.
@kaamiik
Posted
Great. This is a really good solution @matbac85