I created a PDF form with PDF-Xchange. In this PDF I want to integrate a Button that triggers the sending of an email. I create a Variable of "FullName", which consists of two fields. the “First Name ID” and the “Last Name ID”. This variable is used to sign the email.
Here is my Java script, it works fine in PDF-Xchange, different PDF Reader, but does not work in Acrobat Reader.
var FullName = this.getField('Prenom ID').value + ' ' + this.getField('Nom ID').value;
this.mailDoc(true, "[email protected]", "", "", "Fiche d'inscription ", `Mesdames, Messieurs,\r\n\r\n veuillez trouvez ci-joint ma(es) fiche(s) d'inscription, afin de m'enregistrer à votre service offet.\r\n\r\nJe vous remercie d'avance pour l'enregistrement.\r\n\r\nCordialement\r\n\r\n ${FullName}`);
Trying to insert in a email body a variable



I think adobe reader disables JavaScript by default. You need to enable it manually