I have a form with multiple checkboxes what I would like to do is to have it that if someone selects any combination of the checkboxes they could save those selections by pressing a button named save options or something to that affect it would then save those selections then they could load them by pressing another button load options and run them with another button named run options (or the box that loads could run too) not sure the best way to do it

the goal is ultimately to have a button that allows the state of the checkboxes to be saved and then run as a custom option.

how would I do this I cannot find anything on the internet ?