My boardgame site is ALMOST done!
But... I still need a save option (for all the various form fields throughout the site). I've been trying to implement the cookie ability but am having all kinds of problems. The script needs to:
- Save all form elements to cookie with ONE button
- Load all variables back into fields with ONE button
there is more than 1 form on my page, the scripts I've seen only save variables from a single form (multiple save buttons would be needed - one for each form). I need to be able to save ALL
forms with just ONE
button (same with loading).
the scripts I've seen only deal with simple text-box variables. what would the code look like to get other types of form elements (ie. radio buttons, checkboxes, etc.
my site has moveable game pieces that need their x & y coordinates saved to and loaded from the cookie as well. Haven't a clue how to approach this one.
As this is my last hurdle to overcome on the site I've been working on for a few years, my brain has fizzled from too much work. So any and all help would be exuberantly appreciated.
ps. my forms are split up as follows:
TOKENS, UPGRADES, ETC.
(moveable pieces)(not a form obviously)
(radio buttons - form 1)
(textbox - form 2)
(form 3 also)
COLLECTABLE DRAW CARDS
(checkboxes, ownership drop-downs - form 4)
Thanks in advance