Confirmation window when adopting?

Forum
Last Post
Threads / Messages

Quillink

Member
Member
Joined
Dec 18, 2008
Messages
93
Points
0
Mysidian Dollar
7,188
I've had a number of users find it very annoying when they refresh the adoption page and accidentally adopt a duplicate. Is there a way to add a confirmation pop up before the page runs any php? That way if the user refreshes they will realize it's about to create another adoptable and opt out.

This would be particularly useful for anyone running a store script on their site. :)
 
Usually any stored data in a form, will make it so that your browser (If it is up to date, within a couple months or so) will automatically pop up with a warning box with a message. (I dont know the exact wording) but it will say something like, "would you like to enter this data again?" It will then give you a "Resend" button and a "Cancel" button.

So.. yeah.. Or they could always use the simplistic way around that, and click the link given to them after they adopt a pet, that leads them back to the main page of the adoption page.
 
^
Mine has that. I don't know if this would work, but you could always add a redirect to a page that says "Adopted Successfully" or something which has no dangerous code. I'm pretty sure (with a basis on rosepose's site [When you click an adoptable, it levels up on solaria.com then auto-redirects to solaria.net]) that it runs the php code (meaning the adoptable would be bought/adopted) then auto-redirects to the page which has no dangerous code.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,280
Messages
33,130
Members
1,603
Latest member
Monako
BETA

Latest Threads

Latest Posts

Top