What is the syntax for using url parameters in javascript "condition" expression on a web application?

Avatar

Avatar
Validate 1
Level 1
SorenDahk
Level 1

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
SorenDahk
Level 1

Likes

0 likes

Total Posts

8 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
SorenDahk
Level 1

23-06-2021

Hi there! I have made a javascript that is searching for recipients by an email value grabbed from a parameter in the url. 

I have this so far: 

SorenDahk_0-1624454877320.png

 

But it is failing because it can not read the value of the value <%=ctx.vars.email%>. 

Any pointer into how this can be achieved? 🙂 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 5
Level 2
Krishnanunni
Level 2

Likes

13 likes

Total Posts

23 posts

Correct reply

6 solutions
Top badges earned
Affirm 5
Boost 10
Affirm 3
Boost 5
Contributor
View profile

Avatar
Affirm 5
Level 2
Krishnanunni
Level 2

Likes

13 likes

Total Posts

23 posts

Correct reply

6 solutions
Top badges earned
Affirm 5
Boost 10
Affirm 3
Boost 5
Contributor
View profile
Krishnanunni
Level 2

24-06-2021

Hi @SorenDahk ,

Could you please try setting the condition tag as follows

<condition expr={"@leadEmail = '"+ctx.vars.email+"'"}/>



Answers (0)