Expand my Community achievements bar.

Help shape the future of AI assistance by participating in this quick card sorting activity. Your input will help create a more effective system that better serves your needs and those of your colleagues.
SOLVED

Form submission not firing rule in Adobe Launch to set evar

Avatar

Level 3

Seems like a basic function of launch so not sure what I am doing wrong. I have created a rule in Launch with an event = Core-Submit. I tried setting it to a specific element = #pardot-form which is the ID in the code. I then switched it to "any element" and it still did not fire. I have no conditions set and the actions are to set variables and send the adobe analytics beacon. 

 

When I look at the adobe debugger on the form page, you can see the launch tag on the form is working as context data is captured and global link clicks, but nothing shows up in the logs or the analytics tab for the rule after hitting submit.

 

e30powar_0-1613148699751.png

 

1 Accepted Solution

Avatar

Correct answer by
Level 3

UPDATE: The rule is firing properly. The set variable action wasn't set properly so the eVar was being populated with "null" . Now the problem is the rule fires every time the form is submitted. Including if you leave the fields blank, click submit, and the page reloads with required field errors.

View solution in original post

10 Replies

Avatar

Level 10

Is the button <input type="submit"> ?

Avatar

Level 3
Yes, <input type="submit" accesskey="s" value="Submit Your Request">. If it helps this is using a Pardot landing page.

Avatar

Level 3
Yes, input type="submit" accesskey="s" value="Submit Your Request". If it helps this is using a Pardot landing page.
 
 
 

Avatar

Correct answer by
Level 3

UPDATE: The rule is firing properly. The set variable action wasn't set properly so the eVar was being populated with "null" . Now the problem is the rule fires every time the form is submitted. Including if you leave the fields blank, click submit, and the page reloads with required field errors.

Avatar

Community Advisor
@e30powar isn't that the correct behaviour, though? The form was submitted after all.

Avatar

Level 3
Yes I guess that is correct from a programming standpoint, no error there. But how do I get it to fire only when the submit is successful? Like Core > Form Submit AND "No Errors"

Avatar

Community Advisor
@e30powar Perhaps you can move your form submission tracking to the next page. So if it's a valid Thank You page, then you can track your form submission there.

Avatar

Community Advisor
@ yuhuisg I have almost the same issue. I have built a Click event rule in launch for the "Submit" button. But this rule is firing even if you just click submit button even if the fields of the form are not entered. Any solution on that?

Avatar

Community Advisor
@JyotiSharmaV Try using the Form Submit event instead. If you still need help, I suggest opening a new forum post instead of continuing here.