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

Is there code to hide/show multiple pages?

$
0
0

I'm very much a novice at Livecycle and coding but I have a project that is very page heavy. I'm working in LC ES2.

 

I'm up to over 50 pages now and my task is to dynamically hide/show only pages necessary to open certain account types based on user selection of a dropdown list.

 

I'm stuck on how to do so in the most efficient manner. I've been working mostly with the action builder so far and I have messed around with a very short piece of scipt to make the presence hidden for various pages on the initialize event, then an action builder to show specific pages driven by the selection of text in the dropdown.

 

My question begins with, Is there some sort of script that I can add to make every page except page 1 hidden by default, then have my action builders show  whichever pages I need?

 

Has anyone done anything similar and have any suggestions or samples of how you resolved the task?

 

Thanks!


Need field 1 to active second page - Help!

$
0
0

I have a form with many pages.  I want page (1) active and visible.  I want all other pages invisible unless the corresponding sn field on page (1) is filled in.

 

Example

 

Page 1

 

sn for page 2 entries

sn for page 3 entries

sn for page 4 entries

etc

 

page 2, page 3, page 4, etc should be visible only if something is entered in the sn field of page (1).  Like, "If sn for page 2 = null than page 2 "hidden".

 

Can this be done?

 

Sorry, new to livecycle

 

Thanks!

Disabling a digital signature in LiveCycle

$
0
0

I have a form that have a yes / no question with checkboxes. 

 

In some cases there should be multiple digital signatures, in others only 1. 

I want the digital signature line to be disabled if the "No" checkbox is selected. 

I would also like the space where the digital singature goes to say "N/A" if the second digital signature is unnecessary.

 

Is that possible?

 

Thanks,

'Repeat Row for Each Data Item' Feature Guidance request

$
0
0

Hello all. I have created a form (LiveCycle ES2) that successfully connects to an ODBC connection, populated a dropdown, and once a selection is made in that dropdown, data is pulled to fill fields on the form that pertain to that record.

 

The last obstacle that I can't seem to cross is to have a table row repeat for each data item. My subforms are set to flow, and I have the 'repeat row for each data item' feature enabled. I strongly suspect that the database that I was given is not designed in a way to allow this feature to function. I am not a 'database person', and am mostly self taught in LiveCycle as well.

 

Here's basically how my data is structured (actual data is confidential financial records):

 

apples | fuji

apples | macintosh

apples | granny smith

pears | bartlett

pears | anjou

pears | bosc

 

 

My goal is to have, on a form, something like this (from the previously stated database structure):

 

apples | fuji

apples | macintosh

apples | granny smith

 

and on another form:

 

pears | bartlett

pears | anjou

pears | bosc

 

I need to somehow have the apples recognized as a single grouping, and pears as another, and then have the 'repeat row for each data item' recognize it, allowing me to have 13 Apple varieties on the one form, and the 7 pear varieties listed on another (for example).

 

I am assuming that I will first need a way for the database (query?) to count the 3 apple entries as a single record with the 3 varieties as multiple values for that record - and I don't know how this is accomplished, or even if my thinking is right on this requirement.

 

Does anyone have a suggestion as to where I can see a database that is structured in a way to facilitate the 'repeat row for each data item' in LiveCycle?

 

Any guidance would be greatly appreciated.

 

Thanks,

 

David

changes to text field not showing up

$
0
0

when i save the changes and open the pdf it's fine but when i replace a page in another pdf with the pdf i've changed the changes do not show up.

Required Fields "not null" validated before digital signing permitted

$
0
0

Hi there:

 

My form is near done but while testing it out, I noticed that the fields I set as "Required" are not being handled at all and the user is being permitted to digitally sign the form with these fields null.

 

Okay I know little about LiveCycle (newbie) and need to set these validation rules.

 

Thanks,

How to add one button at top of table that creates new rows each time a user clicks on it?

$
0
0

In the help guide, there is an example of adding buttons to each row - an Add Row and Delete Row button.  I am interested in having one button at the top of the table that can add rows. 

Keep zero in date format

$
0
0

I've been searching and searching for this answer.

I have a Date field in a form on LiveCycle.

This is not a field that anyone enters the date, but it simply puts the current date in.

 

I would like it to keep the 0's in the format.  So if the date is 01/08/2014, I want it to read as this, not 1/8/14.

 

I'm using this value in an invoice field where I am concating two fields together and I want the 0's to stay.

 

Any help would be great.  Thanks!


question on radio buttons

$
0
0

Good day everyone,

 

I was wondering if it is at all possible to use javascript to dynamically change the item list available in a radio button.

For example, if a user makes Choice A on first page, then the radio button on my second page will be modified via javascript to reflect that, and so on if they were to choose Choice B instead.

 

Is this doable at all?

 

Thank you very much

Auto fill a textfield in subform

$
0
0

Ok, so I have this table on page 1 of a form.

 

I have a subform called Enrollment on page 4 of said form.

 

I add another instance of Enrollment for every row filled in on the table on page 1.

 

i.e. John Brown     Grade 4     Male

Jane Brown          Grade 5     Female

 

The student's name gets populated in the instance of Enrollment that is visible because there is always one student.

 

However, when I use scripting to create another instance of Enrollment, I can't get the student's names to populate(auto-fill) the names on the new instance of the subform Enrollment.

 

I have tried all this...

 

Enrollment.firstname[1].rawValue = first2.rawValue;

      Enrollment[1].middlename.rawValue = middle2.rawValue;

        oSubForm.lastname.rawValue = last2.rawValue;

 

oSubForm is calculated by...

var nIndex = 1;

var sSOM = "Enrollment[" + nIndex + "]";

var oSubform = xfa.resolveNode(sSOM);

 

I even tried xfa.resolveNode("Enrollment[1].lastname").rawValue

 

NOTHING is filling in the second subform fields. How do I get to them?

 

I can't see what they would be called because the instance of the form is generated on the fly by the dropdown!

 

Enrollment.instanceManager.addInstance(true);

 

I have searched and searched, but there is no definitive way I have seen to call these new fields.

 

Anyone?

Screen reader and dropdown and list boxes

$
0
0

Is it possible for a screen reader to read the contents of a dropdown or list box as the user either moves the mouse over the value, or uses the keyboard to navigate through the lists

Send form data to database with scripted button

$
0
0

I know how to connect the form to an Access database. However, I do not want the form to connect to the database until the user clicks a button. When the user completes the form and clicks the button, I need the form to connect to the database and save the form data as a new record. How do I script the button to do this?

 

Any help is appreciated.

unhidden pages disappearing when saved Reader enabled form

$
0
0

I thought that I was pretty close to completing this form project and was just doing some final testing and found an odd problem.

 

At first I had all pages except page 1 hidden via small script in the initialize event of the form.

 

When the user selects from a dropdown list, an appropriate second checklist page becomes visible.

 

As the user then selects the various checkboxes in page 2, additional document become visible. The user would then fill in the fields in those other documents, then save to form.

 

They should be able to then go back to change, finish or print the saved form. However, when I open the saved form....only page 1 is showing. I figured it was because I had the presence set to hidden in the initialize event, so I changed that to have the page hidden excluded from layout instead. I tested again and same thing is happening.

 

I'm at a loss. I thought I had this thing dancing a jig since everything was working perfectly until I saved the form and then reopenned the saved document. Anyone have any suggestions?

dropdown selects which XML data file to display

$
0
0

Tell me if this is possible:

 

We need to create 50 engineering test forms. Each form uses the same layout but has different text data and different number of table rows to accomdate that text data.

 

Can we create each form and save them as XML data files. Then somehow import those files into the form. The end user will click on a dropdown object, select a part number from the list of 50 and the corresponding XML data will display in the form.

 

Please help me with this. I have tested creating the files and used Acrobat to import them and it works great. However, I want to incorporate this directly into the form.

Preview PDF no longer available - both ES2 and ES4 - Desperately Need Fix

$
0
0

I was using ES and ES2 for a couple of years but recently added ES4 which removed ES but ES2 stayed on my system so I use it when I need a second Designer open for copy/paste, comparison, reference etc.

 

I also upgraded to Acrobat Pro XI at the same time.

 

Ever since I did this, Preview PDF is no longer an option.  In the View tab, Preview PDF is greyed out so I cannot even activate it.  This is problematic for me as I have to save and then open the pdf to review my changes.

 

Anyone have any ideas on how to fix this?  I searched on here and other places and none of the resolutions listed have worked.  I have checked the settings in ES2, ES4, Acrobat Pro XI, and Acrobat Reader and cannot find anything off.

 

Help would be appreciated because this is giving me major problems with my current project of revising over 100 forms.

 

I am open to activating Preview HTML although we do not use HTML forms.  As long as it allows me to view the form, I am call with it.  However, it wants a Server URL and I am not sure exactly what Server URL it wants as my company's network is rather large.  Does it want where the forms are located?  Just my internet connection URL?


Required fields when not submitting form

$
0
0

Hi there,

 

I have a form that has several fields that management would like set to required. I have set them up that way but from what I've read so far, required fields are only "required" when there is a submit button on the form.

 

Is there any way to make required fields prevent the user from saving the form if they are blank? Some sort of validation script?

 

The business lines current process (which we currently can not change) is to fill out the form, print it out, then scan it into an imagining system , etc etc etc.

 

What we can to is skip the print step and save the PDF directly to the imaging system. I need to find out how to make those fields actually required without submitting the form. Is there any way to do this?

Font Weight & Color Change On Variable Entry

$
0
0

I have a text entry field that should turn Bold & Red IF an ID >= KK1 and <= LL2 is entered.

 

Is there a way to do this?

 

Thanks a million!

Adding text field to e-mail subject

$
0
0

Hi all,

 

I've got a button on my form that should submit the form in pdf format, to a fixed mail address with a fixed subject message, that has variable content dragged from a text field, i.e "Subject; New e-DCR <TextField12.rawValue>"

 

Firstly, I got everytihng working with an automatic Submit by E-mail button, but couldn't solve the subject line text issue.  Next, I added a normal button, with a Regular controil type, & tried the following script (from another forum post) under the Click event in script editor - now, the button won't even fire....

 

var Mailto = "mail@mailaddress.com";

var Subject = "New e-DCR" + TextField12.rawValue;

var Mail = "mailto:" + Mailto + "?Subject=" + Subject;

event.click.submitForm({

cURL: Mail,

bEmpty: true,

cSubmitAs: "PDF"

});

 

I'm a complete n00b at scripting, so any advice & help would be very much appreciated.  Thanks!

I have downloaded LiveCycle Designer but can not install trial for 60 days. (Windows 8). "Error ...

$
0
0

I have downloaded LiveCycle Designer but can not install trial for 60 days. (Windows 8). Message: "Error 1311.Source file not found: C:Users\Pat\AppData\Local\Temp\7zOC065.tmp\English.cab. Verify that the file exists and that you can access it". Can I get help from you? Thanks //Patrik

Need field to be read only once saved...

$
0
0

I have altered the current date field to create a unique ID for a form. What I need it to do is to become READ ONLY once the user clicks the Submit button. Below is my current FormCalc code

 

$.rawValue = Concat(Num2Date(Date(), "MMDDYY"), "-", Num2Time(Time(), "hMMSS"))

 

Any ideas? THanks!

Viewing all 5571 articles
Browse latest View live


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