Expand my Community achievements bar.

SOLVED

custom email submit button

Avatar

Former Community Member

Hi all,

I finished my form and everything works beautifil. I found custom email submit button script here and modified it to work for me.

There is one more thing i'm trying to do with it:

I have drop down list in the form connected with submit button. My custom subject depends on which value user choose from that list.

Also, i have a text field i'm trying to connect with same email subject. It's a client name field.

Result should be:

subject: "costum subject + name entered by user"

Is it possible?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi,

Yes, it is possible. You just need to build the subject line based on the field values and then use that in the email script.

An example is here: https://acrobat.com/#d=M3oe*KTVPuco6zeZoMg6Vg

I have another example but it uses validateState so it only works in Acrobat/Reader v9.

Hope that helps,

Niall

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

Hi,

Yes, it is possible. You just need to build the subject line based on the field values and then use that in the email script.

An example is here: https://acrobat.com/#d=M3oe*KTVPuco6zeZoMg6Vg

I have another example but it uses validateState so it only works in Acrobat/Reader v9.

Hope that helps,

Niall