b You might choose this way to do it:
i // Getting the chosen option in the check box button-group.
> var sOption = xfa.resolveNode("Formulario1.ButtonGroup").rawValue;
i // Establishing the mail address, it will depend of the chosen option
>if( sOption == "1" ){email = "mailto:youremail1@service.com";}
>else if ( sOption == "2"){ email = "mailto:youremail2@service.com";}
i // Submit the PDF form
>if(email != null){
> var doc = event.target;
> doc.submitForm( { cURL: email, cSubmitAs: "PDF" } );
>}
b If you can send the both address Simultaneously, you must specify it in the mailto sentence, for example:
> "mailto:youremail1@service.com,youremail2@service.com, ..."