Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Forms
Viewing all 61369 articles
Browse latest View live

Create a Print button to Print a specific PDF File

$
0
0

Hi,

 

Need help with scripting. I'm creating a Menu Page where in I list the PDF files and right beside it put a PRINT BUTTON which of course will print that specific PDF file. Is this doable or not?

 

Thanks.

VicZam


How to insert a carriage return chr(13) to a message box

$
0
0

On my form I have a button, called "Instruction".

When the user clicks on it, I present him with a message box expalining key points about the form and the fields.

Here a dummy example:

xfa.host.messageBox("Hello Everyone! The form contains 5 required field identied by Red border. Make sure you fill them before submitting the form. To calculate the winner percentage you Must fill in the number of tables first."

, "INSTRUCTION", 3);

 

There must be a way to insert a line in a message box, such as chr(13).

What's the syntax?

How to Autosum in Adobe LiveCycle

$
0
0

I have a form that I made up in Adobe Pro 9.  However, I needed to do some stuff to it that only livecycle would allow me to do.  Long story short it is now in livecycle.  Here is my problem, in adobe acrobat I could easily set auto sum for fields that I wanted to calculate.  However I cannot figure out how to do this in livecycle.  Can anyone tell me how to do this?

extract xml data from pdf form

$
0
0

Hello,

 

what are the conditions to be able to extract data from a pdf form ? I have thought, that it is required to have XML Schema data connection and that all the form fields must be bind to this data connection.

But today I found, that the fields can use just "Use name (FieldName)" connection, that is something default - and no explicit data connection is therefor needed.

 

What is the common approach for designing forms, that should be extracted by LC processFormSubmission ?

Thanks.

How to merge static pdf files and dynamic livecycle forms

$
0
0

Hello,

 

I was wondering if there was a way to merge static pdf pages with a dynamic livecycle form to create one file.

 

 

 

Thanks,

 

-vargs

How do you make a text field Read Only after it is saved and distibuted?

$
0
0

How do you make a text field read only after it is saved and distibuted?

 

LiveCycle Designer ES 8.2

 

This JavaScript code on the exit event:

textField1.access = "readOnly";

 

This works after the user loses focus on the field, however after it is saved and distributed, that field is no longer "read-only".

 

I need to have staff insert information into a text field and then distribute it out to customers, and those fields have to be protected.

 

How do you do this?

 

 

Javascript query and app alert message

$
0
0

Hi there,

 

I wonder if someone could please help with a query I have re a button I have that checks that all required fields have been completed? If required fields are not completed one message is displayed and when all required fields have been completed another message is displayed. I'm a scriptingnovice but have sort of figured out what I want to do (it seems to work anyway!) . The problem I have now is that I want to change the text in the app alert from "Warning: Javascript Window". Is this possible? I'd also like to remove the big x from the app alert when all fields have been completed and the button is clicked by the user. Please find my script below.

 

Any advice and help would be much appreicated.

 

Thanks,

 

Ken

 

 

form1.#subform[0].#area[0].Button1::click - (JavaScript, client)

 

if (form1.execValidate() == false){

 

     app.alert("You have not completed out all of the required fields of the form. Please complete the required fields.")
     
}
if (form1.execValidate() == true){

 

     app.alert("You have completed all of the required fields. Please proceed to submit this form by email.")

How do i dynamically hide "Submit" button from the form while rendering from server to client

$
0
0

Hi,

 

 

Can anyone please let me knw how do I make a Submit button invisible when i render it to clients browser.

 

Actually i want to use the same form for capuring User detials when he clicks on submit button and what to show the user (without submit button) all the detials in view mode.

 

 

Please let me knw any code snippet which i can use at server side to hide the submit button in view mode.

 

thanks in advance

 

 

Regards

Sunil Gupta


ALC-WKS-005-028 - A problem occurred in the Render Service.

$
0
0

 


 

 

 

When  implementing the "Base Sample" example, available from "Tour LiveCycle", the following error came on:

 

 

 

INFO  [STDOUT] [LCDS][ERROR] Exception when invoking service 'remoting-service': flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service.  Please review the render orchestration for this process.

 

incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)

 

    operation = render

 

    parameters = [3A2A9399-E2F5-102D-87BF-0000C0A80164, 425, 0, ASObject(1293633302){acroClientType=Reader, acrobatVersion=10.001}]

 

    clientId = 7B278A70-BD0F-5509-A9A1-35CD90ECCBFC

 

    destination = task-actions

 

    messageId = B5A7F4AF-8171-E435-C523-E435E0F131BA

    timestamp = 1300908859661

    timeToLive = 0

    body = null

    hdr(DSId) = 7B1D44B3-D91B-2CE2-3E5F-7B0D252A8C0E

    hdr(DSEndpoint) = workspace-polling-amf

  Exception: flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service.  Please review the render orchestration for this process.

 

The following lines are also in the log file:

 

Caused by: com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException: Error Invoking render Operation For (taskId, formId):(425 ,0).  Error Message is:

 

Service: FormAugmenterService not found.

 

Reading the documentation I found I must start the service Forms/Active Services/FormsService.

 

Question: is there any other service or setup I should do ?

 

Thank you for any ideas!

Convert Javascript: switch(xfa.event.newText) to Formcalc Syntax

$
0
0

I was wondering if someone could provide me with the syntax for formcalc for the following javascript. This is used to hide or make visible 2 fields based on a value in a drop down list:

 

switch(xfa.event.newText) {
    case 'A - Approved':
        form1.Page1.2nd_Title.presence = "visible";
        form1.Page1.2nd_Signature.presence = "visible";
        break;
   default:
        form1.Page1.2nd_Title.presence = "hidden";
        form1.Page1.2nd_Signature.presence = "hidden";
        break;
}

 

Thanks,

 

Mallard27

Check box - When yes is checked no will uncheck

$
0
0

I need help figuring out how to make the check boxes to where only one option can be checked at a time, either yes or no. I am using check

boxes rather than radio buttons because i also need them to be able to be unchecked by re-clicking on them.

I am fairly new to this i would need a step by step for the most part. Thank you!

Create dynamic graph

$
0
0

Does anyone know a way of creating av dynamic grap inside a PDF form?

Numeric Fields - Exact digits

$
0
0

Hello, I was wondering if anyone knows how to require a numeric field to be 9 digits, and only 9 digits without any commas or leading zeros. I tried using num{999999999} in the display field but that gives me leading zeros. I want to make the user input only 9 digits or else they cannot submit the form, or an error message pops up, or they cannot go to the next field or something. Any help would be greatly appreciated, I'm new to these programs!

LiveCycle Form - Calculate Ordinal Date and Append the Answer to a User Provided Value

$
0
0

LiveCycle - Ordinal Date Question (15 MAR 12).JPG

I have scoured the web and while I have found numerous references, I'm not sure how to apply them to my specific situtation.

 

While techincally adept I do possess an abundant lack of coding experience, Point me in the right direction or if there is a coding solution, it would be best if I could cut and paste into the XML Source area. 

 

Thank you, I appreciate any assistance.

 

- Bill

Adobe LiveCycle Designer ES2 email button question

$
0
0

I am using Adobe Lifecycle Designer ES2 to create an Adobe Acrobat X pdf form. The form uses a checkbox to select different options, and then the form is sent via e-mail to a specific e-mail address. I am wondering if it is possible to script the following option when sending the e-mail:

 

I have a dropdown list box where a person's name is selected e.g. John Smith.    Depending upon which person is selected, is it possible to include their name in the cc field of the e-mail message, so that John Smith is appended to @abc.com  for an e-mail address of john.smith@abc.com

 

Any help would be greatly appreciated.

 

Thank you.


Attach excel file to form

$
0
0

Is it possible to attach an excel spreadsheet to a form that will be opened by a button on that form, or any suggetstions on how to do this.  Thx

Adobe LiveCycle Forms not opening in Chrome.

$
0
0

Adobe LiveCycle Forms not opening in Chrome.

 

Today, I noticed that if the PDF from is opened from Chrome when it is rendered from an IIS server using the following methoed:

 

Response.ContentType = "application/vnd.adobe.xdp+xml"

Response.WriteFile(""...file-path-name...")

 

Just Yesterday morning it was working fine.

 

If I open the PDF over a direct link to the PDF file, it will open fine.

 

I reported this problem from Chrome using "Report Issue". I hope someone can help me to solve this problem.

 

Note: I have disabled the built-in PDF Viewer, and Enabled the Aodbe Reader Plugin in Chrome long time ago. I also reset the Chrome Browser, and still not working

 

Tarek.

HyperLink / Label / Text OnClick Alert(Pop-Up Message)

$
0
0

Hi everyone, I'd like to know if someone knows if it is possible to have a messageBox or alert pop-up to show when someone gets to click on a hyperlink / label in Acrobat.

 

I have a block of text, which I have to change its content when a choice has been made. When I'm changing its content i'm loading XML into its exData value. I am looking for a way to have a hyperlink / blue text to be able to click on it and have a alert message to be shown. I tried using the alert method of javascript in a script embeded in the exData, but no success...

 

All I want to do is to be able to show a messageBox when a user clicks some blue text underlined..

 

 

Anyone have an idea? There's gotta me somebody that already tried something like this..


Thanks.

Deleting borders around text field

$
0
0

I am creating a form in LiveCycle by importing an image and adding text fields to it. The text fields drop in with borders around them. How do I delete the borders? In the border window it says that borders are not allowed when working with an imported image.

How to get XML data from a PDF form in .NET?

$
0
0

Hi,

 

I know this may not be a proper question in this forum, but it is a PDF form related issue. I need some help in solving my problem in the following scenario:

 

I have a web app processing PDF files. I have PDF fillable forms generated by Lifecycle. User downloads it from my web app, fills out it and sends it back via my web app (upload). I need to parse the form to XML file, then my existing web service will process XML files and save it to database. Previous we used an Email Submit Button and user sent us the XML by email so there was no issue, but now the user just sends us PDF file.

 

So I am looking for a way to get an XML file from PDF file in .NET (C#), just like Email Submit does. First I need know what is the best way to achieve it. Then I need some sample code for it.

 

 

Your help is greatly appreciated.

 

Thanks

Sam

Viewing all 61369 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>