Email button

Avatar

Avatar
Validate 1
Level 2
Anto_bt
Level 2

Like

1 like

Total Posts

38 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Anto_bt
Level 2

Like

1 like

Total Posts

38 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
Anto_bt
Level 2

31-03-2014

I have one dropdown list where i have employee
I need email button where i have 3 email adreses.
Eg. If it is selected one employee, then one adress if other, then other adress.

Thank you very much

Replies

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

31-03-2014

Hi,

If the drop down has the email address as the value of the items in the drop down (not the text of the items) then you can use code like;

var vEmailTarget = "mailto:" + this.boundItem(xfa.event.change) + "?subject=email subject";

EmailSubmitButton1.event__click.submit.target = vEmailTarget;

In the change event of the drop down.   If the email address is what is displayed in the drop down then change this.boundItem(xfa.event.change) to just xfa.event.change.

Regards

Bruce

Avatar

Avatar
Validate 1
Level 2
Anto_bt
Level 2

Like

1 like

Total Posts

38 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
Anto_bt
Level 2

Like

1 like

Total Posts

38 posts

Correct reply

1 solution
Top badges earned
Validate 1
Boost 1
Affirm 1
View profile
Anto_bt
Level 2

01-04-2014

I don't have mail there... I just need if drop down one person then mail to his boss if other then to other boss and so on...

Avatar

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile

Avatar
Establish
MVP
_Bruce_Robertson
MVP

Likes

271 likes

Total Posts

1,782 posts

Correct reply

372 solutions
Top badges earned
Establish
Give Back 25
Give Back 10
Give Back 5
Give Back 3
View profile
_Bruce_Robertson
MVP

02-04-2014

Hi,

If the email address is not in the drop down then just replace the "this.boundItem(xfa.event.change)" part of the code above with whatever expression you have to determine the email address.

Or is that the bit you are having trouble with?

Regards

Bruce