Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Filtering true form submission in event-based rule

Avatar

Avatar
Validate 1
Level 2
jaykwon
Level 2

Likes

10 likes

Total Posts

22 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
jaykwon
Level 2

Likes

10 likes

Total Posts

22 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
jaykwon
Level 2

23-08-2018

Dear Adobe Community,

I have a question for you guys. Please give me a hand, professionals!

When I create a rule to a submit button and add an event-based rule to generate an event, the tag fires whenever a user clicks the button.

So this can include an action that user clicks but fails to submit because an alert message pop-up.

In this case, how can I modify my tag only to track true data that users submits and go well to the database.

Sincerely,

Jaehong Kwon

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Kaushalendra
Employee

24-08-2018

Hi jaykwon​,

In the rule you have to fire the tag, you can add the same form validations as you have for various failures. In case the validation fails, you can return false which will not trigger the rule.

Answers (2)

Answers (2)

Avatar

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
Kaushalendra
Employee

Likes

65 likes

Total Posts

142 posts

Correct Reply

69 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
Kaushalendra
Employee

28-08-2018

Hi jaykwon​,

Yes, it needs to be added as custom JavaScript.

Avatar

Avatar
Validate 1
Level 2
jaykwon
Level 2

Likes

10 likes

Total Posts

22 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 2
jaykwon
Level 2

Likes

10 likes

Total Posts

22 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
jaykwon
Level 2

24-08-2018

Dear Kaushalendra,

Thank you for you support. You mean the same javascript in the form submit action to DTM? Then it will be custom javascript rather than just click condition using css selector?