0

I'm not sure how best to approach this, but this project would require a popup to appear. The popup would display an iframe that has a donation form linked to an external database. Ideally, this popup would only appear if the visitor has not yet donated.

Since I don't have direct access to this external database (form is provided by the client), I thought, maybe, the popup could utilize HTML localStorage (found a working demo here) taking it a step further to check if that form had been submitted (storing info from the form action?) for that visitor. This stored cookie would then expire every 6 months.

Is this even possible or is there a better way to accomplish this?

Community
  • 1
  • 1
NW Tech
  • 328
  • 3
  • 16
  • 1
    I think it is possible, since we're talking about localstorage which is stored in the browser. Try to create a fiddle, and lets see what you got – Roljhon Jan 17 '17 at 18:17
  • If you have control of the form submission button, you can use localstorage to save a date and check the date every time the page loads. I can get you some code, but again, you have to have control over the form, this wouldn't work. – Josh Jan 17 '17 at 18:24

0 Answers0