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

As Day Light Save started, our Form app is not working!!

$
0
0

Hello

 

Currently we are in USA - EST time zone

 

By using the below JS I'am able to determne the local time zone, we are getting our zone as EST from the below JS until last week. well.

 

util.printd("HH:MM:SS Z",new Date(),true).substring(9)

 

But, today we are getting it as EDT!!

 

Pls. let me know the correct JS snippet, wherein irrespective of Day Light Saving we must get see/get as EST, I mean, in all seaons we want the JS's outcome as EST only

 

Pls. help us in this regard

 

Thank you


Current local time or lolcal time zone code (example, as EST), not as Eastern Standard Time

$
0
0

Hello,

 

Pls. let me know the JS or FormCalc script code snippet for getting the current local time in HH:MM:SS format, or if not possible, then the current local time zone as codes, example, EST

 

Thank you

Do we have a in-built CLOCK in LC pls.?

$
0
0

Hello

 

I am a newbie to LC, am developing a form, where in I need to place a DATE field and TIME field. So, from pallette I got the DATE field and am seeing the calender for date selection, well, but I thought its the same case with TIME field that user gonna hv a clock / digital clock provision for time slecton, but its not?

 

Pls. let me know

 

1) Do we have a in-built clock function for TIME selection in LC?, if so, how can get it onto my form

 

2) If there is not such thing, what is the PATTERN i need to maintain so that users will not enter junk?

 

3) If I want to do any validations against user entered data, pls. let me know the JS and the EVENT name pls.?

 

Thank you

Can i just drag & drop all in one shot?

$
0
0

Hello

 

I placed the obects as below (bcz i want to achieve flow data / flowed subforms), am a newbie, hence i messed up like below heirarchy,  now bcz of some reason (if i use as is below being 2nd page, alignment is messing up), i want to move all the nodes / objects of 2nd page to 1st page, so, to get it done quick & easy, am thinking to just DRAG & DROP the 2nd page's top level red node to drop in at the bottom of first page with hold cusrsor technique, pls. let me know is it safe / any precaustions (there is very very litttel JS)?

 

My_First_Page1

       Subform

          Subform

              text field

           Subform

              text field

              just text

           Subform

              Subform

                 text field

          Subform

               Subform 

                    Subform

                           text field

                           just text

           Subform

              Subform

                 text field

          Subform

               Subform 

                    Subform

                           text field

                           just text

 

My_2nd_Page2

       Subform ======> Can i drag & drop this top level node to the 1st page bottom?

          Subform

              text field

           Subform

              text field

              just text

           Subform

              Subform

                 text field

          Subform

               Subform 

                    Subform

                           text field

                           just text

           Subform

              Subform

                 text field

          Subform

               Subform 

                    Subform

                           text field

                           just text

Thank you

Alignment issue pls.?

$
0
0

Hello,

 

I am achieving Table data display by usinfg the SUBFORM (dragged & dropped from the data connection left pane's DATA VIEW), well, but, pls. see the below alignemnt went bad, pls. let me know how to fix it? I am using all the subforms as FLOWED, including PAGE subform as well

 

Extending row.jpg

 

Their design is as below,

 

Subforms.jpg

 

Thank you

Dynamically add values to a dropdown within a table

$
0
0

Hi All,

 

    Could you please help me with the following question.

 

I have a dynamic table and in one of the columns of the table I have a drop down. For simplicity lets say I have added the values x, y, z in the drop down.

I then click an Add button to add a row in the table. The drop down in the next row has the same values x,y,z.

 

What I want to do is add values in the drop down dynamically and then have these values available in the drop down when I add another row to the

table.

 

What is happening at the moment is that the values get added to the drop down in the first row ... but when I then add a row to the table these dynamically

added values are no longer available.

 

Thanks,

Jayant

Subform add Instance problem

$
0
0

G'day

 

I'm very new to LiveCycle and teaching myself to create forms

 

I have a drop down box in a subform requesting information. Depending on the information required certain text boxes will appear (using switch case script) dateFrom dateTo dateCourt txtOther

When I add a new instance of this subform the list appears correctly in the drop down box but when the item is selected the text boxes do not appear at all.

 

I am probably missing something fundamental. Any ideas

 

Cheers

 

Capture.GIF

//cboInfoRequired

RFI.InfoRequested.Info.cboInfoRequired::exit - (JavaScript, client)

switch(RFI.InfoRequested.Info.cboInfoRequired.rawValue){

  case "Info A":

  RFI.InfoRequested.Info.dateFrom.presence = "visible";

  RFI.InfoRequested.Info.dateTo.presence = "visible";

  RFI.InfoRequested.Info.dateCourt.presence = "hidden";

  RFI.InfoRequested.Info.txtOther.presence = "hidden";

  break;

  case "Info B":

  RFI.InfoRequested.Info.dateFrom.presence = "hidden";

  RFI.InfoRequested.Info.dateTo.presence = "hidden";

  RFI.InfoRequested.Info.dateCourt.presence = "visible";

  RFI.InfoRequested.Info.txtOther.presence = "hidden";

  break;

  case "Info C":

  RFI.InfoRequested.Info.dateFrom.presence = "hidden";

  RFI.InfoRequested.Info.dateTo.presence = "hidden";

  RFI.InfoRequested.Info.dateCourt.presence = "hidden";

  RFI.InfoRequested.Info.txtOther.presence = "visible";

  break;

  case "Info D":

  RFI.InfoRequested.Info.dateFrom.presence = "hidden";

  RFI.InfoRequested.Info.dateTo.presence = "hidden";

  RFI.InfoRequested.Info.dateCourt.presence = "hidden";

  RFI.InfoRequested.Info.txtOther.presence = "hidden";

  break;

  }

 

//cmdAdd

RFI.InfoRequested.AddInfo.cmdAdd::click - (JavaScript, client)

RFI.InfoRequested.Info.instanceManager.addInstance(1);

Master page was printed

$
0
0

Hi everybody,
I have a javascript to control a page named "Blank" to display in my form .The "Blank" page is not included in page Numbering. Here is the java code:

var myCount = xfa.layout.pageCount();
if(myCount%4 > 0){
this._Blank.setInstances(4-(myCount%4));
var myPages = this.resolveNodes("Blank[*]");
for(var q=0; q<myPages.length; q++){
  myPages.item(q).presence = "visible";
}
}else{
this._Blank.setInstances(0);
}

When I open the pdf , the page number is 17,so the Blank page needs to dispay (3 pages). It works functionally.
When I print the pdf , there are some hidden pages need to display(3 pages). So the Blank page do not needs to display. But now the pdf adds a extra blank page in my form . I test it is the Blank's Master Page .

 

Can someone help me?

Thanks a lot .
Jing


How to create a growing table with hierarchical increasing of rows Eg. For each row there must be a subRow i can add like for 1 i can add 1.1

$
0
0

i  can increase the row but how to make it hirarchical  so tha i can add rows under rows?

Adding a Namespace Object to the XFA Object

$
0
0

Hi,

 

I'm looking into optimizing the code in my forms. I noticed that, unlike most of the other LiveCycle Objects, the root XFA Object is enumerable and writable, and I was just wondering if anyone knows if it's safe to create my own Namespace Object and add it as a property of the XFA Object. If it is ok to do this, then it would be a great way to store all the form properties... all your Script Objects could point to the same location. I was able to get it to work using the following code:

 

//create global namespace object
var OBJ = ( function() {
          if ( typeof xfa.OBJ === "undefined" ) {
               xfa.OBJ = {};
          }
          return xfa.OBJ;
     }());


Thanks,

Anthony

Need a LC consultant immediately pls.?

$
0
0

Hello,

 

We are a multi national private company, located in Washington DC, we are looking for a expert LC developer with excellent JS expertise, its 3 months project, pls. reply ASAP, interview will be immediate

 

Thank you

Need a LC consultant pls. immediately w/ very good rate

$
0
0

Hello,

 

We are a multi national private company, located in Washington DC, we are looking for a expert LC developer with excellent JS expertise, its 4-5 months project w/ expenses paid, pls. reply ASAP, interview will be immediate. No remote option pls.


Thank you

Dynamic Form is painfully slow to open and edit

$
0
0

I'm hoping someone could take a few minutes and see if they could help me figure out why this form is so slow to 1) open, 2) add a new line, and 3) select a client in the dropdown box in the "CLIENT" column. I've tried removing the page numbering in the layout:ready event and it doesn't help the performance at all. I do have a lot of calculations and a lot of resolveNodes, but I don't think I have any other way of performing these calculations without them. If anyone could point me in the right direction.

 

The form is here:

https://acrobat.com/#d=pBkuyHMzab36bS4N0U9VEg

...and if you open it in Acrobat or Reader first, you'll see what I mean. It's not as slow in a preview in Livecycle because all of the entered data is gone.

 

Thank you for any help.

 

Jo

xfa.host.importData("") breaks all my custom classes

$
0
0

Hi, All

I'm new to ADOBE programming, but have a lot of experience with the mainstream JavaScript (web).

I'm completely lost with this problem and any help would be greatly appreciated.

===================================

I have a form with several custom classes. Each custom class is a script object on the form level.

I also have a data connection to an XML file - but no fields for this file (the idea is to read the data from it and populate the form dynamically based on multiple conditions.

On the form I have a button with a CLICK event that does the following:

- uses some of the custom classes to build some data structures and form view objects.

- loads data from the XML with xfa.host.importData("");

- uses some more of the custom classes to populate form view objects with data from the XML.

The form is supposed to be used in ACROBAT without any server connections.

I test the form in ACROBAT PRO (cannot execute importData() in Designer).

After the call xfa.host.importData("") all my custom classes are lost, i.e. are unreachable in code - the debugger shows exception on 1st statement where a custom class is used.

===================================

I'll provide any additional info (code, PDF, XML) as needed.

 

Thanks,

Gene

Dynamic pdf to static pdf

$
0
0

I have a pdf form that was sent to me using adobe lifecycle designer and I am done filling the pdf form. I would like to change the form to a regular pdf, any ideas on how to go about this?


Adding a row in the middle of a table where rows are already added dynamically (depict hierarchy)

$
0
0

Hi

 

We started PDF form design using Live Cycle Designer where we bumped into important usability aspect for which we don't have an immediate solution


Requirement is as follows

 

1. There is a hierarchy of data to be displayed in a table.  The first column has S.No - that needs to be populated (with hierarchy numbering) like

 

1 for parent 1

     1.1 for child of parent 1 - c1

          1.1.1 for its child of c1

2 for sibling of parent 1 i,e parent 2

     2.1 - child of parent 2 - c2

          2.1.1 - child of c2

 

Provision to be made to add child in the middle ( say for c1) and also delete parent ( delete c1 should delete its children).

 

Seems to be getting complicated isn't it?

 

Can you please let us know how do we go about designing this in LCD?

 

If we simplify and say that user has to input the numbering ( to convey the hierarchy), then we are unable to add a row in the middle (without deleting till that row)

 

Kindly help in clarifying the approach

 

Appreciate your response

 

BR

Ram

Today date, not change when saved.

$
0
0

I save fill my file and then save with adobe XI, but i have today date.
And i want when i save, date to be from when is saved. Because if i open next day is that day date.

 

Thank you

Adding / Del Rows in middle of table

$
0
0

Hi

 

A general question in adding rows in a table where rows are already added dynamically

 

How to add a row in the middle of a table when the table has the capability of add rows dynamically.

So each row will have the add /del row icon. If the user clicks the add button displayed on a row, it should add a row immediately below that row. Similarly delete row as well

 

Kindly help on the above

 

BR

Ram

Need help in hide / visible of sub forms.

$
0
0

Hi ,

 

I have two subforms in a form .One is visible and other one is Hidden(Exclude from layout). In sub form which is visible has two check boxes based on selection the one which is hidden should be visible.

For example:

subform 1:

checkbox1

checkbox2

 

On change event of subform1 i have written  the following script;

if( checkbox1.rawvalue == "yes")

        subform2.presence ="visible";

else

     subform2.presence ="hidden";

 

It is working as per the expectation at the initial level .But when form is  at next level of work flow that means when approver opens the form  the subform2 is not showing up i.e .. the subform 2 which is hidden initially  and which is set to visible  by selecting the checkbox1 is not showing up when approver opens the form.

 

Please help me!!!

 

Thanks,

Bharathi

Livecycle es4: a textfield does not expand beyond the second page

$
0
0

I am using livecycle designer es4 (trial, before i was using livecycle es 8.1, wich came with adobe pro 9)

 

I have figured out how to expand a textfield, however if people who use it want to type alot of text beyond the page the whole textfield is placed on the other page.

Sometimes it even creates 2 empty pages before the textfield.

It would be nice if it dynamically continued on the next page without skipping a whole page or 2 pages at once.

 

Any help would be greatly appreciated

Viewing all 5571 articles
Browse latest View live


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