I am trying to prevent multiple form submits. I have implemented the following php code, which works for devices that use Chrome, Firefox or IE as a browser:
Setup - On load - Custom code
Setup - On submit - Custom code
The code above is defeated when a form is submitted from an iOS device such as an iPhone, Mac or iPad.
I have also implemented a submit limit along with the php code above, which is also defeated when using an iOS device.
Any ideas?
Setup - On load - Custom code
if(isset( $_SESSION['subcounter'] ))
header("Refresh:0; url=https://homepage.net");
Setup - On submit - Custom code
session_start();
$_SESSION['subcounter'] =1;
The code above is defeated when a form is submitted from an iOS device such as an iPhone, Mac or iPad.
I have also implemented a submit limit along with the php code above, which is also defeated when using an iOS device.
Any ideas?