Hi - I have a working shared object. The visitor types a password into an input text field and hits go. The next time they go to the log-in it pulls the shared object out and prepopulates the input text field.
My question is…
How can I add a “checkbox” (Remember Me) option to the process. I’d like the visitor to have the option of whether or not they want to be remembered.
My current code looks like this:
On frame 1 Actions Keyfame:
pw_babytalk = SharedObject.getLocal(‘babytalk’);
if (pw_babytalk.data.pword != undefined) {
password_txt.text = pw_babytalk.data.pword;
}
On the “Go” button:
on (release, keyPress “<Enter>”) {
if (pword eq "BOB") {
getURL("http://www.domain-name/folder");
} else {
gotoAndStop("ERROR");
}
}