Hello EE peeps,
Got a weird issue here. With Safecracker, I currently have a wonderful workflow that goes like this:
1. Visitor fills out form
2. After clicking the Submit button or pressing the Enter/Return key on their keyboard, they’re brought to a “Thanks!” page that tells them some stuff
3a. If they leave the site, or log off or whatever, and come back later, they can happily change the values of their form some more after logging in again (I’ve setup the templates & EE to check the current member and load-up their existing entry into the Safecracker form)
…here’s where the issue comes up…
3b. However, if, after submitting their form, they come right back to their application (by hitting the back button for example), and they make some modifications to their values, and they press the Enter/Return key on their keyboard, EE/SC submits that as a new entry in the channel. What I want it to do is update the existing entry.
It’s weird because if they click the Submit button, it works as I desire. However, if they press the Enter/Return key on their keyboard, it doesn’t work as I desire.
Is there anything in particular I should adjust to ensure that pressing the Enter/Return key on the keyboard does the exact same thing as clicking the Submit button—that being the entry is updated, rather than a new entry being created.
Thanks!
[Mod Edit: Moved to the CodeShare Corner forum]