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

.setInstances(1) only updates first of master pages

$
0
0

Here is the scenario

A form with about 16 sections all with radio button options and sub options that allow someone to pick the output they desire

On the right side I have a section reserved on the master page to dynamically upate and show what options they have picked and the cost associated.

 

I initially used several hidden buttons to make the section move by manipulating foo.y but the movement was to jerky

Instead I chose to use a master page

here is a code example in formcalc for one of the radio button groups on the change event

 

 

 

if ( $.rawValue == 1)

     then

          pg1.chk2.rawValue = (1)     ///this sets the groups parent check box to active (the checbox when unset clears the radio button group)

          xfa.resolveNode("#pageSet.Page1.bz.mvr4.uper.flw._joe").setInstances( 1)

          xfa.resolveNode("#pageSet.Page1.bz.mvr5.uper.flw._joe").setInstances( 0)

          xfa.resolveNode("#pageSet.Page1.bz.mvr6.uper.flw._joe").setInstances( 0)

elseif ( $.rawValue == 2 )

     then

          pg1.chk2.rawValue = (1)

          xfa.resolveNode("#pageSet.Page1.bz.mvr4.uper.flw._joe").setInstances( 0)

          xfa.resolveNode("#pageSet.Page1.bz.mvr5.uper.flw._joe").setInstances( 1)

          xfa.resolveNode("#pageSet.Page1.bz.mvr6.uper.flw._joe").setInstances( 0)

 

elseif ( $.rawValue == 3 )

     then

           pg1.chek2.rawValue = (1)

          xfa.resolveNode("#pageSet.Page1.bz.mvr4.uper.flw._joe").setInstances( 0)

          xfa.resolveNode("#pageSet.Page1.bz.mvr5.uper.flw._joe").setInstances( 0)

          xfa.resolveNode("#pageSet.Page1.bz.mvr6.uper.flw._joe").setInstances( 1)

else

          pg1.chk2.rawValue = (0)

          xfa.resolveNode("#pageSet.Page1.bz.mvr4.uper.flw._joe").setInstances( 0)

          xfa.resolveNode("#pageSet.Page1.bz.mvr5.uper.flw._joe").setInstances( 0)

          xfa.resolveNode("#pageSet.Page1.bz.mvr6.uper.flw._joe").setInstances( 0)

endif

 

 

the _joe refered to is a textfield on the masterpage

 

on form1 under docReady

I set all teh instances initially to 0

 

xfa.resolveNode("#pageSet.Page1.bz.mvr.uper.flw._joe").setInstances(0)

xfa.resolveNode("#pageSet.Page1.bz.mvr2.uper.flw._joe").setInstances(0 )

xfa.resolveNode("#pageSet.Page1.bz.mvr3.uper.flw._joe").setInstances(0 )

etc.........

 

when I fire the document

on the first page the master page updates dynamically like I expect but all other instances of the master page do not

 

here is a further breakdown in case it helps

 

bz     flowed     top to bottom

mvr     flowed     top to bottom

uper     flowed     top to bottom

flw     flowed      top to bottom

joe     flowed     top to bottom        cheked repeat subform for each data item          checked max 9      min count uncheked     initial count unchecked

 

 

the reasoning for this layout instead of hidden items is so that they group properly instead of with huge spaces between

Again this seems to work for one instance of bz but none of the others

I know that the bz is repeating becuase there is a single text field (used as header ) directly under its heiarchy

If I move it under mvr or any of the other subforms it fails to replicate

 

Any help would be appreciated

Thanks


Trouble with a submit button to email

$
0
0

Hello,

 

I'm using this script:

 

//Create a variable to hold the document object

 

 

var oDoc = event.target;

 

 

oDoc.mailDoc({

bUI: true,

cTo: "gs@fheg.follett.com" ,

cSubject: page1.top.posSub.storeNbr.rawValue + " " + page1.top.positioned.request.rawValue,

cMsg: "Please attach any specfic art files or logos to this email.",

});

 

For the user to click a Submit button and have an email created. However, the Outlook email window never opens.

 

I'd appreciate some help on what's wrong with my script. I've used it successfully before, so I'm stumped on what I've done to it.

 

Thanks,

MDawn

Visible subform on screen

$
0
0

Hi,

 

I am wanting to have a subform that can be filled in on screen but does not print and does not take up space on the page when printed. This subform will also contain global binding with fields in other subforms. Can this be done?

 

Thanks.

Fields with Visible(screen only) space excluded from printing

$
0
0

Afternoon

 

Could someone please tell me (in novice terms) how to make a field that is Visible(screen only)  also hide the space that the field uses when printing please.

 

As it stands the dropdown I am using is visible on the screen but it shows a blank space on the print-out which I need to get rid of.

 

I can provide a sample if need be.

 

Many thanks in advance

 

Ben

Complete field with character ********

$
0
0

Hi,

 

I'm trying complete a field with *********

 

For example:

|                                                                                       | --> field with value

 

| 2558.33 ************************* ****************************** |

 

Our employees can write the value and after change field, this characters ***** complete until de end

 

 

 

Thanks

 

 

Chrys - Sao Paulo/Brazil

Cannot set focus when reset data using datasets

$
0
0

Hi All,

When I click reset form button. I would like to reset data then focus to the first field. I can clear information I provided but setFocus to the first name field is not working. Please help.

I use datasets to reset data. 

Here is my coding:
event: click

xfa.datasets.data.loadXML("<form1/>", true, true);

 

xfa.host.setFocus("xfa.form1.contactInformation.firstname")

 

Thanks,

Cindy

Drop down reverts back to Value1 on click event of a submit button

$
0
0

Hi,

 

I tried to send eamil according to the drop down list. Something like this:

* Make a drop down list  and list number 1 = Option1 (value1); List no2 = Option2 (value2) and list no3 = Option3 (value3).

 

Now I created a button and when I select option 1 then I want to send email to the option1, when selecting 2- it sends email to second listed email and when selected option3 - it sends email to the third email listed in the button code.

 

PROBLEM :

The code works fine for the first option and opens the PDF attached in outlook but when I select the "option2", and as soon as I clcik the button , the drop down REVERTS back to "option1"   and as a result it sends the mail to "option1" instead of "option2".

 

Here goes the code:

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

 

 

if (DropDownList1.rawValue = 1);

{

         var Mailto = "option1@abc.com";

         var Mail = "mailto:" + Mailto;

 

     event.target.submitForm({

    cURL: Mail,

 

    cSubmitAs: "PDF"

    });

}

 

 

elseif (DropDownList1.rawValue = 2);

{

         var Mailto2 = "option2@abc.com";

         var Mail2 = "mailto:" + Mailto2;

 

     event.target.submitForm({

    cURL: Mail2,

    cSubmitAs: "PDF"

    });

}

Subform Pagination Grayed Out

$
0
0

I cannot edit the pagination of a subform on my form.  All of the prior subforms have been set to Flowed.  What am I doing wrong?


Adding hours & minutes

$
0
0

I am creating a form for staff to enter in the actual hours and minutes that they spend with a client each ses

sion and I cannot figure out how to get the time to add up correctly.  I am looking for minutes not fractions of minutes.

Example: Sarah sat with Joey for 1 hour and 25 minutes and sat with Jill for 30 minutes - must add up as 1:55

I have searched the web many times and can find nothing. Does anyone have any suggestions?

Configuring e-mail button,

$
0
0

Hello,

I am creating a form using Live cycle designer 8.0 . The issue I am facing that hile using e-mail button, the file is sent as xml, which is very difficult for a layman to understand.

I don't want to use this button as "Submit  To URL".

Currently I am using the button in such a way that it just only asks me the e-mail ID and Subject while setting up the e-mail button. after successfull setting of this button, the file is sent as a XML file.

 

I need help regarding how to send the file in a PDF format using the same method that i prescribed above except Submit through URL and Execute option. In short by using Regular option.

 

 

Please Help...

Upgrade help and general questions...

$
0
0

Hi all,

 

I was originally introduced to LiveCycle in Acrobat Pro 9 I believe.   I was thinking of upgrading, but am not show if I should or how to do it.   It seems the livecycle product is separate from now from pro.  I am mainly interested in building "live" dynamic forms for our business process and client intake.  I am not interested, at this time, with all the back end software and server element.

 

Questions

1.  Should I upgrade to a new version of Livecycle? - if so which one do I need? 

2.  Is it worth it over the old version I am using?  Is there an overview of the new feature sets?  I would like to implement some graphics in sheets.

3.  Can I still use my older version of Professional to enable the forms fill-able?

 

When I look a the livecycle products now they seem to be targeted to enterprise customers not little guys like me.  Any general advice?  Is this still the best prodcut for me?

 

Thanks in advnace to any/all help.

 

Tom

Populate field from 2 dropdown boxes

$
0
0

I have 2 dropdown boxes and one text field.

DropDownList1 has A1 and A2 as choices
DropDownList2 has 5A and 5B as choices

 

I would like my text field to populate based on the choices.

i.e., if someone picks A1 and 5A from the dropdown boxes, then text field populates as "Planned Development" or if someone picks A1 and 5B then the text field populates as "Subdivision"

How to make fields disappear after making them appear

$
0
0

I've got a drop-down list with a question like this:  Q) how many people did you interview?  and you can select a number that corresponds to the number of people you interviewed.  I've got the fields appearing without any problems, so if I select 2, I get two text fields to appear asking for the names of the people you interviewed.

 

My problem is once I select a number, lets say I select 4 by mistake but intended to select 3, I get 4 text fields appearing.  However if I go back and select 3, which is the number of fields I wanted, I still have 4 fields showing.  How do I get the number of fields I select be the only number of fields to appear?

Adobe Live Designer Question

$
0
0

Does anyone know if it's possible to compare 2 documents in Live Designer. I have tried comparing them using Acrobat and the quality is rather poor, i.e. it doen't work.

Please let me know if you have any thoughts or suggestions.

Thanks!

Date/Time Calculations

$
0
0

Date/Time Calculating in Livecycle is one skill that I have yet to master! I have developed a time sheet with punch in/out buttons, and I think the calculations are working correctly, but the trouble I am forseeing is that the calculations are based on times only, not on dates AND times. Consequently, if someone punches IN on Jan 1 2014 at 08:00AM and punches OUT at 09:00AM on Jan 2 2014, it calculates 1 hour, instead of correctly calculating 25 hours. This would, in essence, create a way for an employee to be dishonest in their timekeeping. Is there a way to calculate this correctly? I am attaching the form for reference.

 

Thanks!

 

Jo

 

https://files.acrobat.com/preview/1396254a-d517-4666-a171-94b2cb0aa60b


Delete the blank page with repeating subforms

$
0
0

hi all!

 

I have a form for declarations.

Every declaration has to be set on a new page.

I solved this with a repeating subform.

And in the properties of the repeating subform the variable 'After' has 'Go To Next Page'.

This works well with only one disadvantage. In the end an empty page is also be created.

 

I would like to get rid of this empty page.

But how can this be done?

 

kind regards,

 

Anton Pierhagen

Cannot insert LC Produced Doc into another LC Produced (XML) doc

$
0
0

Can I do anything to enable document assembly amongst LC produced docs?    I have forms that I constantly improve.  Its nice to take the most recent form, insert the older, populated, form and have all the fields, with the same name, updated in the the latest form.    

[SAP Adobe form] How to configure adobe form to be the defaut print for my SAP Standard program

$
0
0

Hello Everybody,

 

Adobe form are supposed to give the possibility of integration with SAP.

 

My needs is to attach my adobe form to a standard SAP Transaction (program) .

Is there anyone who could tell me how to do attach a form to a standard SAP Transaction ?

Or is there anyone who knows where the documentation is ?

 

We tried to use NACE transaction, but my transaction is not included in the available transaction.

Using the transaction OB84 seems not to be functional. (Form are attached to a client.).

 

Transaction I want to configure are  F.26 or FINT .

Any help would be really appreciated.

I have been reading forums and link for days and I can’t find the way it works.

 

Best regards

Abdou

 

PS : I asked before on scn forums but no one has responded. Moderator told me it seems to be a product related problematic. So I try here.

Flexibile Data Entry Field for Percent Numbers.

$
0
0

I need a numeric field to accept percentage figure. I want to allow the user to enter the percentage figure in any format like:

 

7%

 

0.07

 

7

 

7.

 

7.0

 

To me, surprisingly, it was not straightforward !

 

This is what I have done:

 

1. Used Numeric Field with the following Patterns:

 

Display: num{zzzz9.9%}

Edit: num{zzzz9.9%}|num{zzzz9%}|num{zzzz9.%}

Validation <nothing>

Data: num{zzzz9.9%}

 

2. Used "validate" event, and added the following script:

 

if (this.rawValue != null) {
 this.rawValue = Math.abs(this.rawValue);if (this.rawValue >= 1) {  this.rawValue = this.rawValue / 100;}}if (this.rawValue == null || this.rawValue <= 1) true;elsefalse;

 

Now, the field is working as required.

 

Any other simpler method you can think of ?

 

Tarek.

Image "Use Original Size" is Incorrect Scale

$
0
0

Hi community, this is my first post. Thanks for any help you can offer.

 

Problem:

When Insert an image into my form (3"x4") and I choose the sizing dropdown to scale it to "Use Original Size" The Image increases way beyond it's correct scale. Im not sure what Im doing wrong.

 

Here is a screen shot from photoshop displaying the true size of the image:

9-13-2013 10-59-50 AM.png

 

Here a screenshot of the problem in LiveCycle:

9-13-2013 11-01-44 AM.png

 

Any help on this subject would very much appreciated.

 

Thanks Community!

Viewing all 5571 articles
Browse latest View live


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