Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all 5571 articles
Browse latest View live

Using a variable in an object name.

$
0
0

Hi,

 

I have 15 text fields each with 6 check boxes.

 

I would like to copy the text fields to new fields depending on which checkbox's are checked.

This also needs to be in a loop.

 

I need to know how to add a variable into a textfield name?

 

My code is basically like this:

 

 

var x = 1;

while (x<15)

     {if (Page1.CheckP// insert the value of x //S1.rawValue==1)

                    {Pax// insert the vaule of x //Sect1.rawValue=PaxName1

               x=x+1};

     }

 

I am using Adobe Designer.

 

Thank you in advance.

Damo.


Validate two sums and display total

$
0
0

I have a form which sums numeric data (amounts) in both columns and rows. I need to verify that the sum of the row of totals and the sum of the column of weekly totals are identical and dsiplay the total in a single grand total field. Because the form was imported as a fixed field form Tables and Subforms are not available. I've set up individual fields for AllTotals and the WeeksTotal elsewhere on the form that I can make invisible thinking I could use an if expression but I can't figure out how to display the sum in the GrandTotal field. Any suggestions?

Invoke Pre-Save Event through javascript

$
0
0

Hi All,

Isit possible to invoke pre-save event through javascript program instead of manually selecting save button of Adobe Reader ???

 

 

 

Regards,

Ali

Why does my Adobe Dynamic XML Form (*.pdf) submit as data.xml

$
0
0

Hi, I have created a form and saved it as Adobe Dynamic XML Form (*.pdf)  the form used to submit perfectly via email but today it keeps attaching  to the email as in a data.xml format.  What would cause this and how do I fix it.

 

P.S. I am a novice with Livecycle

font formatting not working when values are passed to the form

$
0
0

I have a form that you fill out on the screen, hit submit and then it sends the values to the REAL form and mails it via email.  So the first form you fill out is more of a placeholder.

 

I found if I set the font on the REAL form to =0 so it will expand and shrink, the value does not populate.  When the value's passed over the value is blank on the form even though I put something into the real form.

 

If I set the value to 9 or any other number the form works.  BUT I need the font to shrink based on the text.

 

If I just try it in preview mode the value shrinks just fine, it's only when I run it from the actual applicaiton where I'm entering the value in the placeholder form, hitting submit and then opening it via email.  All the other fields populate just fine, except the name value when I set the font =0 so it will shrink.

 

any idea?

Annual Leave Form

$
0
0

Hi,

I have an annual form which i would like for it to calculate the working days between two dates. I have an error when i select the start date to be e.g. Thursday 31 October and end date Monday 4th Nov it only seems to caluculate 1 weekend day? I am using formcalc

 

I also have another issue as my table has buttons that allows for more lines to be added if more that one set of dates is to be added, how to i get the table to calculate the different date working days and then calculate the total days altogether?

 

Any help would be great

Thanks

Page numbering problem.

$
0
0

Could someone possibly shed some light on this small problem I am having with page number of total pages.


I have a form that hen in LC is 31 pages long.


When put into reader and the sections that are hidden until the desired results are given further up the form when working ones way through it I het the final result of page 15 of 31 as the last page.


What I think is happening the form is not calculating the hidden fields into account when it is displaying the actual form but using the full expanded form.

 

I suppose I have missed something along the way and at the moment just can’t figure it out.

I cannot get a button to work to add a row to a table.

$
0
0

I have created an interactive table with text fields for the user to input data and need to have a button to trigger the addition of an additional table row as needed. I have created the subform structure but cannot get the add item button to work. I must be missing a specific step. Please help.


How to page break when a table is too large?

$
0
0

HI gentlemens,

 

      I am trying to do a simple table. My problem is that my table has some columns that are sometime hidden and sometime visible

This means that my table happen to have too many columns to fit into one page, i was wondering if there was a way to "page break"
when the columns goes beyond the border.

 

     The solution I have found so far was to add all my columns on the first page and hide those that i don't need while putting visible those that i need. I am manually calculating how many columns will fit in my page (they don't all have the same width) and i hide those that goes bwyond the border. Then, i add all the columns on page 2 that has a chance to be off border of page 1. This way, when i put a column visible on first page, i put it hidden on second page.

 

     I was wondering if there was a better way (or an already implemented way) of doing this. Anyone has seen this before?

 

Thanks alot!
Max

Attach button, tool tip and digitally signed forms (HOW?)

$
0
0

I am encountering the same problem as the user who started the post http://forums.adobe.com/thread/874553

 

I have read this thread in its entirety. To this point, all forms have been built using a button, and, using the Action Builder, I've assigned the following to the "click" event:

 

When AttachDocuments is clicked, Attach a file to the form.

 

In addition, given that some of our users will be using Adobe® Reader® while others have access to either Adobe® Acrobat® or Adobe® Acrobat®, we are trying to accommodate the entire demographic by including, within the Accessibility panel's Tool Tip area, a message that states:

 

"If using Adobe® Acrobat®, you can attach documents to this form. If using, Adobe® Reader®, you must attach documents to your outgoing email message."

 

When a user hovers the mouse over the button, the tool tip appears.

 

All of this appears to work just fine within LiveCycle's Preview; however, when I open the form (saved as Reader-enabled with extended features) in Adobe® Acrobat® Pro, I get the following error message:

 

This document restricts some Acrobat features to allow for extended features in Adobe Reader. To create a copy of the document that is not restricted (and has no extended features in Adobe Reader), click Save a Copy.

 

With all of our forms, we are requiring digital signatures. Forms submitted without them will NOT be accepted.

 

We understand perfectly that those using Adobe® Reader® will have to attach all desired files to their outgoing GroupWise email message(s); however, I am not sure whether I am understanding the other post correctly: is there a way to allow our Adobe® Acrobat® and Adobe® Acrobat® Pro and users to attach files AND be able to digitally sign our forms that does NOT require special additions or usage rights on the server?

 

If such a solution does exist, could you please outline the steps, actions and scripting necessary to achieve it?

 

Many thanks.

Button presence in static PDF's

$
0
0

I having a heck of a time trying to figure this out and I hope I can find the answer here.

 

I have a form that must be static, and the autors want to include an XML submit button. However, they also want to put some kind of security on the button as they only want specific people to be able to click it.

 

My solution was to use kind of a poor man's password button in the form of a text field:

 

if (form1.Page1.TextField1 == "password") then;

    form1.Page1.xmlSubmit.presence = "visible"

elseif (form1.Page1.TextField1.rawValue <> "password") then;

    xfa.host.messageBox("Please enter Administrator password to access XML Submit");

endif

 

As you can see I was using the exit event of the text field to change the invisible presence of the XML submit button to visible.

 

From the documentation I have read, namely "Understanding the Differences Between Static and Dynamic PDF Forms" the visible/invisible presence can be used in a static form but as of yet I cannot seem to get this to work.

 

I am sure there is something simple I am missing, likely that I am wrong about the presence thing working in static forms.

 

Any help would be appreciated.

 

Cheers!

How to line break in a textbox

$
0
0

Hello guys(and girls),

 

     Does anybody know a way to line break within a textbox? I am dynamicaly filling a textbox using a string and i was wondering if there is any "code" or <tag> i could put into my string to tell the texbox to line break?

 

     Textbox is set to allow multiple lines and field format is Rich text.

 

Thanks alot!
Max

Data base issues

$
0
0

i have created the data base but i am unable to get all the buttons to work properly it always show the error in sql query as the image given blow what is the possible reason to not to exicute the queiry in sql

i also wants to create user defined database is it possible?

is it possible to add key board shortcut for form buttons?

 



error.png

Signature Prevents Additional Attachments

$
0
0

When one of the digital signature fields on my form is signed, users are prevented from attaching additional attachments (documents). The form is routed to several people and signed as it goes through the workflow by each participant. The signature fields are not set to lock the form. Is this normal operation of signature fields and if yes, is there a way to prevent this locking out of adding additional attachments?

How can I subtract in formcalc sum(amount[0],amount[1],amount[2])

$
0
0

How can I subtract amount[3] from this sum?  sum(amount[0],amount[1],amount[2])


Possible to automatically select text field data on enter

$
0
0

I have been trolling this forum for a couple weeks and have figured out everything on my form except this issue.

 

I would like my form to automatically select the "data" that is in a text or numeric field when the field is entered. 

 

For example:  If I open a form that has been filled out previously I would like each field's data to be selected when I enter the field either by tab or clicking on the field.  This way I can overwrite the current data much easier without having to double click to "select all" or backspace to delete the current field.  It is possible that the data should stay the same so I dont want the data to be deleted on enter just "selected"

 

Thanks for your help,

 

Joe

How do I get form to automatically copy/paste a group of text fields?

$
0
0

I have a group of text fields that are in my form. 

I would like the user to be able to select a number in a number field and it automatically paste “x” number of the group of text fields for the user.

 

I.E   The user states that he has 5 problems.  He goes to the numerical field and chooses the # 5.  I would like my form to automatically paste 5 of my text field groups for him to enter his data.

 

 

 

If this is not achievable then I would like to have a check box below my group of text fields asking “Is there another problem”.  When the user checks the box it automatically pastes another group of text fields for him to enter in his data.

Character limit of Text Field

$
0
0

Hi,

 

we are facing the below stall in our project. If we give more number of characters in a multi line text field, this stall happens. However it does not happen with every text field. Is there any character limit for the number of characters for text field?? or is it the problem related to ntext datatype in sql server?

 

A non-retryable Exception has occured: Operation failed. The index entry of length 1114 bytes for the index 'ix_76' exceeds the maximum length of 900 bytes.

StackTrace:

com.adobe.idp.taskmanager.dsc.client.task.TaskManagerRuntimeException: A non-retryable Exception has occured: Operation failed. The index entry of length 1114 bytes for the index 'ix_76' exceeds the maximum length of 900 bytes.

 

please help me if you have any idea regarding this issue.

wordnum

$
0
0

Untitled.png

i am trying to write the code to convert the numeric value in words but I've got the above error while executing the code

Adobe LiveCycle webservice button not invoking webservice

$
0
0

Hi all,

         I am using Adobe Livecycle ES2.I was trying to invoke a webservice of my company for development purpose.I imported the wsdl file into the layout as new connection.I dragged and dropped the button and the request fields to the layout.But in the preview and in the saved pdf file i am not able to invoke the webservice when I click on the button.I tried the with different webservices both from wsdl file and also http location of some online webservices.It used to work fine for me in version 8 of adobe livecycle.Now i am unable to invoke any webservices at all .some please tell me if any settings needs to be enabled in the newer version so that button will invoke a webservice call.

 

1.jpg

2.jpg

Thanks & Regards,

Bince Mathew

Viewing all 5571 articles
Browse latest View live


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