Page 1 of 1

Execute Trigger on Web but not in Mobile

Posted: Sat Apr 18, 2020 6:20 am
by ricardodalisay0816
Is there a way to create a condition where the triggers would only execute only on the web but not in mobile. I have a trigger set in before a dynaform loads up. It works fine on the web but it gives me an error when in mobile.

Re: Execute Trigger on Web but not in Mobile

Posted: Thu May 14, 2020 5:25 pm
by RicardoMG
Hello,

It is not possible to run the trigger only on the web and not on mobile.

Best regards, Ricardo.

Re: Execute Trigger on Web but not in Mobile

Posted: Mon May 25, 2020 11:09 pm
by barrywallace
There's no way to do that. The only way to do so is that you create two independent apps, 1 for mobile and 1 for web.

Re: Execute Trigger on Web but not in Mobile

Posted: Wed Jun 24, 2020 3:57 pm
by programerboy
Hi,
You can check $_SERVER['HTTP_USER_AGENT'] value and set your condition based it.

Please check the following link:
http://pmlearning.info/plugins.php