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

Validate fields before signature

$
0
0

Hello --- hope you are all enjoying the holiday season.


I'm working on a fillable pdf form for my office mates to use as a cover sheet for certifying invoices for payment. I have a few fields which must be filled in for the finance team to accept the document. I also have a document signature field so the form filler can sign the coversheet (our office has certificates all set up). I'm using LiveCycle Designer (LCD) on an enterprise so I have no control over when/if I'll ever have a later version. The one I have is whatever comes with Acrobat 8.x (pertinant becasue it does not have preSign and postSign events with signature fields).

 

I'm trying to have the form check that the required fields are non-empty before the document is signed and prevent a signature on an incomplete form. I was envisioning an appropriate little script in some event on the signature field. Should be easy, right? Well, I wouldn't be posting if I'd succeded

 

The solutions I've tried are listed below. They each fall short --- maybe some one can help make one of them work, or maybe some one has a different approach that will work. I'm all ears. I'm happy to admit that some good old RTFM may be involved, but I'd appreciate a pointer to which FM to RT. I have experience coding (mostly in C/Perl) but am pretty green with java.

 

Thanks for you time !!

 

Gordon

 

  • Mark the fields as required in the Object value tab: This sort of worked. When I left a required field empty and then signed the document, I got a warning message about empty fields. But the signature process flow continued and signed the document. I was left with a signature that would be invalid because I'd need to go back and fill in the missing data. I played with the "Validation Pattern" and "Validation Script" options in the value tab but had no luck. Did I miss something simple there?

 

  • Scirpt in a signature event: I played with little validating scripts in the click and mouseDown events of the signature field. I could get them to check for null in the required fields, but I could not then stop the signature process flow. Any ideas?

 

  • Fake Signature Button: I borrowed an idea from a post on this forum in which some one suggested putting a "fake print button" over an invisible but real print button (in that case the designer wanted to prevent printing of an incomplete document). The "fake button" called an appropriate script to check for empty fields in its click event and then "clicked" the real (and invisible) print button via RealPrintButton.execEvent("click"). I've now lost the post so I can't credit its author -- sorry -- but it seemed like a great idea! I covered my signature field with a button and tried the following code in the click event:

 

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


     if( RequiredTextField.rawValue != null ) {

          // reveal the obsecured sig field by making the button invisible

          button_subform.presence = "invisible";

          // fire off the digital signature

          SignatureField.execEvent("click");

     }

     else

     {

          // keep hiding access to the signature field

          xfa.host.messageBox("Please fill in all required fields");

     }

 

          It didn't work. I later found a post in which some one said that the  digital signature process flow is complicated and that a genuine user  click is not the same as a click from javascript. Presumably it work for the button case.

 

  • Fake Signature Button 2: Do the "button over the signature" thing as above but don't try to "click" the signature for the user -- force the user to manually click the signature field once it has been revealed. I see two drawbacks to this approach. Firstly, I shoudn't have to give in on this -- there has to be a way to do what I want. Secondly, how long will it be before some user whines about having to click twice to sign a document? 

Text field value based on numeric value of a number field

$
0
0

I am trying to make a fillable PDF form for a Performance assessment.  I have three radio buttons that put a value in a total box.  For example, Not good = 15, Good = 30, Excellent = 45.  So depending on which radio button you select, the value of it will be 15, 30, or 45.  I have 6 different categories so the score can be anywhere from 100 - 300.  Based on these scores, there ranking is determined, so what I am trying to do is make a text box equal their ranking based on their total score.  This is what I tried with no success.

 

SalesPA.SalesPA.OverallScore::calculate - JavaScript, client)

if TotalPoints > 234

this= "Exceeding Expectations";

if TotalPoints > 179

this= "Meeting Expectations";

if TotalPoints > 99

this= "Not Meeting Expectations";

}

LiveCycle ES4 Distribute button is greyed out. Please help.

$
0
0

I recently upgraded to Adobe Acrobat DC and now the distribute button in ES4 is not working for distributing my forms.  This is even the case for older forms.  Does someone have a fix for this?

 

I have uninstalled ES4 and reinstalled it and it still doesn't work.

How to hide table with empty content using Javascript?

$
0
0

Hello!

 

I'm using Adobe LiveCylce Desinger integrated in SAP. I have a task to hide a database-table, if the table empty is.

 

Normmaly we can do following to check, whether the content empty is.

 

if (this.REMARK_TEXT.rawValue ==null )

this.presence = "hidden";

else

this.presence = "visible";

 

The question is, how to check in Javascript, if a table empty is.

 

Many thanks in advance!

 

regards

longholiday

Hiding a master page based on a condition

$
0
0

Hi All,

 

I have created a form which has data on odd pages and some terms and condition on the back pages(even) pages. I am using Adobe Livecycle Designer ES version 8.1.2

 

For this I created 4 Master pages.

FirstPage - Pagination -> Odd/Even - > Odd (front) pages

                                   Placement -> First Page (in Page set)

 

Front Page - Pagination -> Odd/Even - > Odd (front) pages

                                   Placement -> Rest of pages

 

BackPage - Pagination -> Odd/Even - > Even (Back) pages

                                   Placement -> Rest of pages

 

Dummy - Pagination -> Odd/Even - > Blank page

 

I dragged the content area of back page on the dummy page.

 

This set up works fine for printing.

 

I have additional requirement of archiving, emailing and faxing. While sending a email or fax or archiving, the data should be continuous, the back master page should be removed otherwise they show in alternate pages as blank pages even if i set the presence property to visible(print only) .


Are there any settings which can be done to remove the master pages that are not needed based on a codition.
Any help will be appreciated.

 

Regards

Neha

File Upload field in livecycle designer

$
0
0

Hi

Am trying to create a form which allow user to add an attachment and want to display the size of the attached field.And also i wnt to save the form in the local system .Could anyone help me to come out of this.

Interactive Dialogue Box

$
0
0

Hi,

 

     Is it possible to develope an interactive dialogue box in livecycle designer from whci we can select values? e.g. for a particular text field, if I enter 2 alphabets and click a search button, then it should display the resulting options in a small pop-up window from which any one value can be slected and that selected value appears in that text field.

 

     Please let me know if this is feasible in Livecycle Designer ES.

 

Regards,

Nakul

Adobe Interactive forms in SAP

$
0
0

Hi All,

 

I have created an interactive PDF and I am facing issues with hiding and displaying few fields.

 

I have a deep table, where visibility of a field depends on the visibility of another field.

These fields are shown as dropdowns on screen and the data for these Drop downs come from the deep table from different rows.

 

I have used scripts for these. For the drop down value, I have written logic on event: CHANGE.

 

I have also used event: EXIT on the dropdown field.

 

Here when I try to hide the field, I am able to do that. But once this field is hidden, I can not make it visible again, as this element does not exist in the layout. Please help me with this request.

 

Cheers

Snehal


How to force alpha or numeric inside text fields - LiveCycle Designer 9.0

$
0
0

I am creating a form that requires City, State and Zip.  I need to make sure that users do not put City, State and Zip into the City field; which someone so nicely pointed out to me as a problem with the form.  Anyway, what I am looking for is a way to force the user to only be able to enter alpha characters into the City text field.  I had glanced at the "Validation Patterns" OOTB functionality but I could not find anything listed that would complete the requirement.


Thank you,

Validate fields before signature

$
0
0

Hello --- hope you are all enjoying the holiday season.


I'm working on a fillable pdf form for my office mates to use as a cover sheet for certifying invoices for payment. I have a few fields which must be filled in for the finance team to accept the document. I also have a document signature field so the form filler can sign the coversheet (our office has certificates all set up). I'm using LiveCycle Designer (LCD) on an enterprise so I have no control over when/if I'll ever have a later version. The one I have is whatever comes with Acrobat 8.x (pertinant becasue it does not have preSign and postSign events with signature fields).

 

I'm trying to have the form check that the required fields are non-empty before the document is signed and prevent a signature on an incomplete form. I was envisioning an appropriate little script in some event on the signature field. Should be easy, right? Well, I wouldn't be posting if I'd succeded

 

The solutions I've tried are listed below. They each fall short --- maybe some one can help make one of them work, or maybe some one has a different approach that will work. I'm all ears. I'm happy to admit that some good old RTFM may be involved, but I'd appreciate a pointer to which FM to RT. I have experience coding (mostly in C/Perl) but am pretty green with java.

 

Thanks for you time !!

 

Gordon

 

  • Mark the fields as required in the Object value tab: This sort of worked. When I left a required field empty and then signed the document, I got a warning message about empty fields. But the signature process flow continued and signed the document. I was left with a signature that would be invalid because I'd need to go back and fill in the missing data. I played with the "Validation Pattern" and "Validation Script" options in the value tab but had no luck. Did I miss something simple there?

 

  • Scirpt in a signature event: I played with little validating scripts in the click and mouseDown events of the signature field. I could get them to check for null in the required fields, but I could not then stop the signature process flow. Any ideas?

 

  • Fake Signature Button: I borrowed an idea from a post on this forum in which some one suggested putting a "fake print button" over an invisible but real print button (in that case the designer wanted to prevent printing of an incomplete document). The "fake button" called an appropriate script to check for empty fields in its click event and then "clicked" the real (and invisible) print button via RealPrintButton.execEvent("click"). I've now lost the post so I can't credit its author -- sorry -- but it seemed like a great idea! I covered my signature field with a button and tried the following code in the click event:

 

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


     if( RequiredTextField.rawValue != null ) {

          // reveal the obsecured sig field by making the button invisible

          button_subform.presence = "invisible";

          // fire off the digital signature

          SignatureField.execEvent("click");

     }

     else

     {

          // keep hiding access to the signature field

          xfa.host.messageBox("Please fill in all required fields");

     }

 

          It didn't work. I later found a post in which some one said that the  digital signature process flow is complicated and that a genuine user  click is not the same as a click from javascript. Presumably it work for the button case.

 

  • Fake Signature Button 2: Do the "button over the signature" thing as above but don't try to "click" the signature for the user -- force the user to manually click the signature field once it has been revealed. I see two drawbacks to this approach. Firstly, I shoudn't have to give in on this -- there has to be a way to do what I want. Secondly, how long will it be before some user whines about having to click twice to sign a document? 

Can someone help. I created a form in LiveCycle ES4 but save it in DC. The problem is it will not pass our 508 compliance as no lang is specified. We need English US speicified in the form. We place the code and save it but it is not working. Can so

$
0
0

form1.#variables[0].Language - (JavaScript, client)

function language(){

app.language = "ENU";

}

form1.#variables[0].Language.language();

 

 

 

[Moved from the Lounge (which is where you can "connect with your peers" from across all of Adobe's products for conversations that don't directly relate to help and support) to a product-specific support forum - moderator]

LiveCycle ES4 Distribute button is greyed out. Please help.

$
0
0

I recently upgraded to Adobe Acrobat DC and now the distribute button in ES4 is not working for distributing my forms.  This is even the case for older forms.  Does someone have a fix for this?

 

I have uninstalled ES4 and reinstalled it and it still doesn't work.

Error using PDF Form from SAP/R3.

$
0
0

I am not sure if this is the right section to report this issue.

 

I got report from SAP Staff. Following are the detials.

 

Error is thrown when trying to display PDF From in SAP R/3.

 

The error is:

 

Call contained error(s). ADS (2Invalid HTTP Connection: ADS)
Message no. FPRUNX003.

 

Any idea what is the problem?

 

Tarek.

Adobe Acrobat DC erased my Adobe LiveCycles

$
0
0

Hey All,

 

I have a pretty in depth form that I have been updating in Adobe LiveCycle for several years now with populated large dropdown options and so on, but with the Cloud I have to also download the LiveCycle program separately. I have no issues with that, but with the latest upgrade to Adobe Acrobat DC from the cloud deleted my LiveCycle. Does anyone else have this issue? Any suggestions? Is LiveCycle just that out of date? To me it had so much more control over forms than anything I have tried in Acrobat and I really need that kind of control. I do not see where in Acrobat to populate my dropdown menus and in the last Acrobat XI it would automatically move me back into LiveCycle when I did try to update my forms so I was ok with that.

 

Please any advice at all is appreciated! I have searched and searched and I see what looks to be a LiveCycle ES4 for sale on Adobe.com, but is this not part of the cloud? Are they still upgrading LiveCycle? Do I bother trying?

 

Thank you!

Erin

Adding Hyperlinks to a pdf form

$
0
0

Good Day All;

 

Ok... this is driving me crazy. I have looked through the web to try to find a way to add a hyperlink. Can not find a thing. One would think this would be easy!

Does anyone know how to add a hyperlink (let's say to an other document) to a pdf form?

 

Thansk all.

 

Chomp


Hiding a master page based on a condition

$
0
0

Hi All,

 

I have created a form which has data on odd pages and some terms and condition on the back pages(even) pages. I am using Adobe Livecycle Designer ES version 8.1.2

 

For this I created 4 Master pages.

FirstPage - Pagination -> Odd/Even - > Odd (front) pages

                                   Placement -> First Page (in Page set)

 

Front Page - Pagination -> Odd/Even - > Odd (front) pages

                                   Placement -> Rest of pages

 

BackPage - Pagination -> Odd/Even - > Even (Back) pages

                                   Placement -> Rest of pages

 

Dummy - Pagination -> Odd/Even - > Blank page

 

I dragged the content area of back page on the dummy page.

 

This set up works fine for printing.

 

I have additional requirement of archiving, emailing and faxing. While sending a email or fax or archiving, the data should be continuous, the back master page should be removed otherwise they show in alternate pages as blank pages even if i set the presence property to visible(print only) .


Are there any settings which can be done to remove the master pages that are not needed based on a codition.
Any help will be appreciated.

 

Regards

Neha

Multiple Line Drop Down List

$
0
0

Hi!

 

I need to create a drop down list where the options are really long. I am aware that the "drop down list field" in livecycle do not give you the option for multiple lines. Can I script the values of the drop down list  using FormCalc or Javascript? This way I can hard code where the second line should start.

 

 

 

How To Prevent a Page From Displaying?

$
0
0

have a form with a table on the first page.  If it has more than 7
line items, then it continues to a new master page content area to
display the rest of the line items.  Then it has another separate page
to print at the end.

However, if I have 7 or fewer lines, it still prints my continuation
page.  Is there a way to prevent this page from displaying and from
being included in the page count?

As another option, is there a way I can subtract 1 from the page count
if the number of line items is 7 or less?

I've attached a copy of my hieararchy.  I want Page1 to display.  In it is a table.  If it has more than 7 line items, I have it continue to a content area in LIContPage1.  Page 2 prints last.

 

However, if there are fewer than 7 line items on Page1, I don't want LIContPage1 to print or be included in the page numbering.

 

Thanks!

Trying to print form fields only

$
0
0

I have made a fillable form with LiveCycle Designer, it is a 2 page form that my customer will receive by email, fill out and then feeds into a regular ink jet printer to print off fields onto an already pre-printed page they have in their office (they are basically filling out their name, address, etc contact information to print onto a brochure that is pre-printed) My client will use Acrobat Reader to fill in the form. Does anyone know a way to do this? I have read about making the background non-printable, or non-visible, but my background is an already created PDF that I have imported (with the forms built on top of it in LiveCycle). Doesn't seem to work unless I import it as an EPS.

 

I also have Adobe Acrobat 8 Professional. Is there a different way I should be doing this instead of LiveCycle? I have tried to import the PDF background as an EPS, but the quality makes it really bad and I want the professional quality of the pdf that I already have built, as I have 10 of these to do and the PDFs are already done.

 

I have been trying to work this out for 2 weeks and still not getting anywhere. Any help would be greatly appreciated.

How to reference data from the data binding in Javascript?

$
0
0

Hello,

 

I have a specific question -

I have a PDF template that I am designing in Livecycle Designer ES2. The data binding is XML Schema. For one of the fields I need to bind the data with some formatting.

For example: If my XML (based on the schema) is as follows

.

.

.

<xml:element name="EffectiveDT" value="2011/01/29"/>

<xml:element name="ExpirationDT" value="2012/01/29"/>

.

.

 

I want to bind a text filed named "Term" on the PDF Template to have value as <EffectiveDT> - <ExpirationDT>

 

I couldn't figure out how to bind this in the Binding Tab for the Text Field so I thought may be I can have a JavaScript that can let me assigne the concatenated value to this TextField and I can leave the binding blank.

 

Is it possible? What would be a correct solution for such use case? If we can go JavaScript way, could anyone please share a code snippet on how to access the data binding element from JavaScript?

 

Thanks in advance!

Viewing all 16286 articles
Browse latest View live


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