Expand my Community achievements bar.

Announcement: Calling all learners and mentors! Applications are now open for the Adobe Analytics 2024 Mentorship Program! Come learn from the best to prepare for an official certification in Adobe Analytics.
SOLVED

EvalError

Avatar

Level 1
 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It would help if you shared what you are trying to do, what script you are trying to run... 

 

I'm not sure why you need "eval"..  Adobe Custom Code block run JS directly... 

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

It would help if you shared what you are trying to do, what script you are trying to run... 

 

I'm not sure why you need "eval"..  Adobe Custom Code block run JS directly... 

Avatar

Level 1

Here my scenario is if user clicks others option it will ask one more fields, I need to track that 2 fields values, for that i need proper JavaScript code 

Avatar

Community Advisor

I don't see anything wrong with the code you posted above... where did you add this code?

 

Maybe the problem is the location?

 

Can you explain where this code has been added?