Expand my Community achievements bar.

sbudlong
sbudlong
Offline
Type
  • All
  • Questions
  • Discussions
  • Ideas
  • Blogs
Filter by user contributions
  • I'm using this script successfully. form1.#subform[0].typeOfIncidentDdl::change - (JavaScript, client)assocInfoSubform.presence = "hidden";custInfoSubform.presence = "hidden";if (xfa.event.newText == "associate injury"){          assocInfoSubform.presence = "visible";} else {          custInfoSubfor...

    Type

    Questions

    Views

    4.8K

    Likes

    0

    Replies

    18
  • This code works and sends a PDF, which is desirable. However, something strange happens. When I click on Submit by Email, the dialog for sending the email comes up, then the email itself. After I click Send, another email dialog comes up, and when I click that, I get an email with a CC and the attac...

    Type

    Questions

    Views

    918

    Likes

    0

    Replies

    0
  • And in a similar way, how could I change the body text of the email to include some of the fields from the form?

    Type

    Questions

    Views

    923

    Likes

    0

    Replies

    0
  • Also, is there a way to send a specific subject at runtime, maybe something like this?this.resolveNode("#event").submit.target = "mailto: somebody@somewhere.com; " + emailFromTxt.rawValue + "?subject=Request from" + firstNameTxt.rawValue + middleInitialTxt.rawValue + lastNameTxt.rawValue + "&body=Th...

    Type

    Questions

    Views

    920

    Likes

    0

    Replies

    0
  • Actually, this does work.this.resolveNode("#event").submit.target = "mailto:somebody@somewhere.com; " + emailFromTxt .rawValue + "?subject=email data&body=This is the body  text.";Is there a way to make the second URL (the emailFromTxtfield) as CC or BCC?

    Type

    Questions

    Views

    921

    Likes

    0

    Replies

    0
  • I have a form with a Submit by Email button configured in the Object palette to send the form to a specific URL. In the form, the user fills out an email address text field. Is it possible to send the user the form also? I found something close (see below). I tried to adapt this by adding script to ...

    Type

    Questions

    Views

    2.8K

    Likes

    0

    Replies

    8
  • I got it. The reason I was getting that "is not defined" error is that the TextField1needed to look like this form1.#subform[0].DropDownList1::change - (JavaScript, client)if (xfa.event.newText == "first" || xfa.event.newText == "second"){    textSubform.presence = "visible";    textSubform.TextFiel...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • This might help. In the javascript console in Acrobat Pro, I get this:TextField1 is not defined3:XFA:form1[0]:#subform[0]:DropDownList1[0]:changeHow could that be happening? I'm going to google that and see if I can find a solution.

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • Below is the XML for a test form. The script on the change event of the dropdown list looks like this: form1.#subform[0].DropDownList1::change - (JavaScript, client)if (xfa.event.newText == "first" || xfa.event.newText == "second"){    textSubform.presence = "visible";    TextField1.validate.nullTes...

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0
  • I re-read the columns in that link I mentioned, and the javascript equivalents should work.JavaScript-equivalent in LiveCycle Designer ESthis.mandatory = "error";orthis.validate.nullTest = "error"; Could you send me an example of code that works for you?

    Type

    Questions

    Views

    1.9K

    Likes

    0

    Replies

    0