These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Email submit button displays 'required fields are blank' error

Jonsocks
Registered: Jan 12 2010
Posts: 4
Answered

Hi,

I've searched the forums and there is a similar problem here, but this one is slightly different.

I've built a form for work using LiveCycle designer 8 (my first one, hence the problem!) , this has numerous required fields (text, dates and radio button groups) and also an email submit button. The form works great until I click on the submit by email button, when I get an error message saying that some of the required fields are blank when they are not.

I've checked all of the radio button groups to make sure they are functioning properly and I've been through the form several times to make sure I haven't missed anything.

I'm sure this is a simple error, if anyone can help it would be greatly appreciated.

Thanks in advance

Jon

My Product Information:
LiveCycle Designer, Windows
PetafromOz
Registered: Jun 8 2009
Posts: 230
Jon,

In the 'submit' tab in the button palette, do you definitely have:
'mailto:blahblah [at] blah [dot] com' in the 'submit to url' section?the 'mailto:' bit is essential. But maybe you have this, I don't know.

Obviously read 'blah blah' to be whatever email address you're sending it to.

PetafromOz

from way... underground at Parkes - central West NSW - Australia

Jonsocks
Registered: Jan 12 2010
Posts: 4
Thanks PetafromOz,

This wasn't the issue because I'm using a submit by email button which doesn't require the mailto: bit unlike the http submit button.

I've fixed it now anyway, I found an extra ' nullTest="error" ' line in the xml code. But thanks for your help anyway!

Jon
NehaK
Registered: Jan 20 2010
Posts: 1
anyone knows how to send pdf as attachment rather than XML,

I am using the below Javascript code:

var toList = To.rawValue;
var newTarget = "mailto:" + toList;
console.println("before: " + submitNode.target);

// set the email submit button's new target information
submitNode.target = newTarget;

console.println("after: " + submitNode.target);

// execute the email submit button with the new target information
EmailSubmitButton.execEvent("click");

Through above code i am ble to send email with XML file and not PDF file..what extra code is required to send PDF attachment.

Plz help

Thanks
Neha
30011754
Registered: Jan 6 2010
Posts: 13
Use the function "this.mailDoc"