Event Code Fails in Hybrid App

Avatar

Avatar

alim92960278

Avatar

alim92960278

alim92960278

13-06-2018

I have setup several rules in DTM for a new app we're releasing. All of them use custom code.I tested them extensively when I had the app loaded on my windows machine's Chrome browser using Ionic.

Now that the app has been built and available in the app store these rules are failing. In some cases I have created test rules that retrieve the value from a single field on a form and these are failing as well.

To validate that a lead form has been populated before I count it as a Lead Submission I retrieve values from all form fields and check their length.

Example:

var FName = document.querySelector('input[ng-reflect-name="firstName"]').value;

This code works when I load the app in my windows browser using ionic but fails in the published app.

Any help would be appreciated.

Ali

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

jantzen_belliston-Adobe

Community Manager

Avatar

jantzen_belliston-Adobe

Community Manager

jantzen_belliston-Adobe
Community Manager

14-06-2018

Jen Andrews​ - Any thoughts here?