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

date -/ time of day control returns text

$
0
0

I have make aPDFwithdifferent fields.

One of this fields is adate fieldthatI haveformatted(inediting, reviewing, data):

date{DD.MM.YY}|date{DD.MM.YYYY}24-07-2013 16-13-18.png

If Iread the date fieldin vb.net, I get a string.

 

Example:

Input:24.07.2013

vb read: 20130724

I need: 24.07.13 or 24.07.2013 (so i have formatted)

 

This does not happenalways, there areother settingsthat could be madeoridentifysomeonethisProbelm?

 

I use the LiveCycle Designer ES2.

 

Best regards


Adobe LiveCycle Designer working with 2 drop down list, one response triggers the other

$
0
0

I am fairly new to Adobe LiveCycle Designer ES 8.2, but I would like to have a drop down list of managers and another drop down list of employees.

 

I would like this set up in such a way where the manager can click on their own name in the manager list and have a drop down list appear which is only populated with their directly reporting employees.  They can then click on the individual employee they are going to report on.

 

Then there will be several questions pertaining to the individual direct report, etc. (This part I can do)

 

Is this possible?

 

If so, please provide detailed instructions for me to try.

 

Thank you in advance.

how to disable or hide SAVE and SAVE AS options in acrobat reader form

$
0
0

I created a form and In Acrobat Pro I save it like Reader Extended PDF --> Enable Additional Features. When I open form in Acrobat Reader in File menu that it has options SAVE and SAVE AS. What need to do to disable SAVE and SAVE AS option or hide these options in Acrobat Reader and don't allow users to save the form. The users should be allow only print the form. How it to do?

Help with JavaScript....

$
0
0

I have a form that has several groups named "transType", within these groups are a text field and a group of 3 radio buttons. Each radio button group has the values of Yes, No and Resolved. I have one radio button group at the top that, when clicked, the corresponding buttons on the page are also selected, e.g. I click "No" on the top group, and all the "No" fields below are selected. I am using the action builder to make this happen, but it seems tedious and I will have to do it for each value. Below is the script as it stands now:

 

form1.#subform[0].transType[0].markAll::change - (JavaScript, client)

     if (this.rawValue == "1") {

       this.resolveNode("transType[1].exeError").rawValue = "No";

       this.resolveNode("transType[2].newEnrol").rawValue = "No";

       this.resolveNode("transType[3].enrolReq").rawValue = "No";

       this.resolveNode("transType[4].immPinChange").rawValue = "No";

       this.resolveNode("transType[5].pinChange").rawValue = "No";

       this.resolveNode("transType[6].loanProc").rawValue = "No";

       this.resolveNode("transType[7].contribChange").rawValue = "No";

       this.resolveNode("transType[8].allocChange").rawValue = "No";

       this.resolveNode("transType[9].allocChange403b").rawValue = "No";

       this.resolveNode("transType[10].transfTrans").rawValue = "No";

       this.resolveNode("transType[11].confEndBal").rawValue = "No";

       this.resolveNode("transType[12].confTarAlloc").rawValue = "No";

       this.resolveNode("transType[13].loanReq").rawValue = "No";

       this.resolveNode("transType[14].withdrawReq").rawValue = "No";

     }

 

Is there a easier script I could write? Maybe an array? I'm a bit of a n00b in JavaScript, but I can limp my way around. TIA!!!

ES4 Designer mobile capabilities

$
0
0

I have a form developed in LIVE CYCLE ES2, and want to use the same-similar-form on a mobile device. All I need is to have emplyees fill out the form off line-save-and email, using our intranet, Would ES4 Designer allows me to perform this task?  If not, what do I need to buy.

Elapsed Days between Two Date Fields

$
0
0

I have two date/time objects that record the current time and date when a button is clicked (two different buttons, one for each date/time object). I would like to calculate the elapsed days in another field. Ideally it would calculate the elapsed days, hours and minutes.

 

I have tried for hours to figure this out. I can make it work when it is just two dates without the time. I found using Date2Num and FormCalc I can get the elapsed number of days. Is it possible to get the elapsed number of days, hours and minutes?

 

All of the date/time expressions I try do not work and I can't find additional examples. Currently my date and time is formated this way but can be changed if needed:

 

TimeStampToFT.rawValue = Concat(Num2Date(date(), "EEE M/D/YYYY "), Num2Time(time(), "h:MM A"))

 

and displays like this:  Tue 3/5/2013 10:33 AM

 

I unsuccessfully tried to get just the date to convert to a number using this script: (FormCalc and Textfield)

 

this.rawValue = Date2Num(DateField1.formattedValue, "EEE M/D/YYYY")

 

Help with this would be appreciated.

Submit Pdf form to http w/ credentials (username/password)

$
0
0

Hi!

 

I developed a form in Adobe LiveCycle, it has a button which submits form with attachments to http site.

No coding involved, just configuration of the button.

 

Http site requires credentials (username/password). How do I pass those credentials with submission?

Can username/password be added to http header?

Or I can excecute some javascript before submission?

 

Thanks you!

focus and clear text field if it validated

$
0
0

Hi All.

 

I have TextField with pattern text{AA12345A} to display and the same to validation. If user will enter data with wrong format, for instance, ABA4565B and validation will come up how to clear intered value and keep focus to the same field?

 

Thanks.


Currency Field?

$
0
0

Hi there,

 

Does LiveCycle Designer not have a currency field as a field type?  It has numeric and it has text, but no currency?  Do I really have to manually tell this expensive program how to accept currency values such as the oh so uncommon US dollar sign? 

 

I set my field type as "Numeric" and in "Validation Pattern" I listed the following for the "Validation" and "Edit" patterns:

zero{0}|num{zzzzzzzzzzzz9}|num{z,zzz,zzz,zz9}|num{zzzz9.zzz}|num{z,zzz ,zz9.zzz}|num{zzzz9.999}|num{z,zzz,zz9.999}|num{$z,zz9.99}

 

I listed the following for the "Display" pattern:

zero{0}|num{$z,zz9.99}|num{$zz,zz9.99}|num{$zzz,zz9.99}

 

When I test the field, it does not allow me to enter the dollar sign ($) in the field.  For example, if I enter "$123" into the field then exit the field the data then disappears. I can enter "123" and it converts it to $123.00 when I exit the field, which is what I want.  However, our users need to also be able to enter the US dollar sign and not have their data disappear if they do. 

 

Please help.

 

Thank you.

Submit function - How to Pick up supervisor's email address when clicking submit.

$
0
0

Hi guys,

 

I currently work on the IT Service Desk at UWS and would like your assistance with modifying some of our existing IT Access Forms.

 

Currently we have a submit function on our forms that when pressed will check that some mandatory fields are completed and sends an email into our ticketing system (just a mailto: itservicedesk@uws.edu.au)


The problem we are facing is requests are coming to us without approval so we are having to contact supervisors and check if the forms submitted by their staff are approved; very time consuming

 

 

What I was thinking is:

 

When user clicks the Submit button that the form picks up the email address entered into "Email Address" under Supervisor Details.

 

The form then emails the form to the supervisor with text that reads:

 

Dear Supervisor,

 

Could you please advise if you approve of the IT Access Form (attached). If you approve please Forward this email to itservicedesk@uws.edu.au (wording doesn't matter I can play around with it, moreso the coding behind the button)

 

I was unable to figure out how to attach our form in it's current state. If you could let me know how to do this I will attach it (can only find attach Image or Video)


Can you please investigate if this is possible for me? I have little to no knowledge of Java code or whatever it is that these things run on.

 

Regards,

Rob

Is it possible to load a xdp file into a subform?

$
0
0

Is it possible to load a xdp file into a subform?

selection from drop down list makes field visible

$
0
0

I have two drop down fields, the select in the first drop down field provides the list of items in the second drop down list. When an item in the second drop down list is selected, I want a hidden field to become visible.

 

I'm not sure how to write the script on the second drop down list to make the field visible. Here's the script I have, that's not working:

 

 

if (this.rawValue == "ACD");

 

{

agentID.presence = "visible";

}

if (this.rawValue == "Agent");

{

 

 

 

 

 

 

     agentID.presence = "hidden";

 

}

 

 

 

Thanks,

M.Dawn

Populate DropDown from XML file

$
0
0

Have been reading/testing what I could find on creating a drop down list that is populated from xml file (also tried datasource to access database but have too many issues, such as won't be able to install DSN on multiple machines, plus getting an environment not trusted error).  The XML file will be on a network, updated nightly, all users have rights to folder/file.  Created the test data connections trying both the sample XML method and the XSD, which let me choose the XML associated with it.  Have created a reader extended copy, am opening in AdobeX Pro, but regardless of whether I try to preview in the LiveCycle designer, or open in the reader extended PDF, the drop down list is blank.  Have tried binding a drop down to the datasource field name, and tried simply dragging the field onto the form and making it a drop down.  The XML has 4 columns, and once the 1st column value is selected, the goal will be to write column 2, 3 and 4 values to other fields on the PDF, but my first stumbling block is to populate the dropdown.  Any assistance very welcome, thank you!

Multiple field population bound to xml

$
0
0

Does anyone know how to populate multiple fields from data binding, most of all of these forms and how to only populate one field of data i am losing the connection when it comes to connecting the second, third, etc fields to the data of the xml? 

Create guides easily in LiveCycle

$
0
0

Here is a video I created on easily making guides without using the Guideline Definitions dialog. You may already know about this, but if not, it's a lifesaver! Let me know if it helps!


setting focus to new instance of a field...need help.

$
0
0

Hi there,

 

I have a flowed form which consists of multiple subforms. I have one subform which is basically one textfield that is set to a min of 1 and a max of 5.

 

These are to correspond to fields in our system of record that have 5 fields for company long name with a 36 character field limit.

 

I've got the limits set up just fine and I have added simple script to add a new instance when the user exits the field.

 

The focus goes to the next field set in the tab order but what I want is the focus set on the new instance of field created but I have not been able to find an example of how to do that.

 

Any suggestions would be greatly appreciated. Thanks!

debating schemas...please chime in ;-)

$
0
0

In my office we are having an interesting debate on exactly what to put inside our schemas.  In the true definition, the schema represents all fields on a form, right?  So in its pure sense, we should have a schema for every form, with every field in the form represented in the schema.


A schema is also necessary for workbench orchestrations so that if you need to refer to a field, you can easily drill down to the field value in your process.  So along comes a developer that states that if you have a form that has a very simple back end process (like filing the form to the file system once it's submitted), then you don't really need a schema on the form at all, because the orchestration does not need to pull any field values.


Then there's the java developer that thinks you should only expose fields to a process that are required for the orchestration to run.  So if a form contains 10 fields, but only 2 are needed in the orchestration, then only those two should be represented by the schema.


Then there's the data purist that wants a schema for everything...

 

We haven't formed a definitive approach yet.  Just wondering what decisions others have made regarding this...


Thanks,
Elaine

Search & Replace objects (image to image field) within LCD?

$
0
0

Hi everybody,

 

I was wondering if there is a possibility to create a script which supports an automated sequence.

 

I planned to run through an imported PDF file while searching for "images"-type objects with a certain "tag". When such an object is found, it should be replaced by an "image field" type object.

Is it possible to implement this type of function?

 

Thanks!

 

Best regards,

 

andrejtmtld

Getting a page to flow to the second page without messing with the header/footer

$
0
0

Hey everyone. I'm aware there are lots of sources about how to do this - I'm pretty sure Ive tried them all. I'm sure it is something simple and easy - but I can't seem to be find anything.Is there anyone out there that would mind taking a look at it?

 

The issue is on the last page. A text field called narrative needs to be able to be filled with text and flow to the next page, while keeping the text fields below it intact and at the bottom of the page. Thanks for any help you guys can provide. Not sure how to attach the file, so anyone who would not mind looking at it just send me an email at joel.holt1@gmail.com and I will send it or click on this drop box link: https://www.dropbox.com/s/jja3pv7wyc6zk17/UOF%20adobe%20test.pdf

Dynamically populate dropdown list from user-entered values in repeatable table row

$
0
0

I am trying to take the values entered by the user in a text field in a repeatable table row (between 1 and 10 rows depending on the user's need) and dynamically populate a dropdown list that is used throughout the rest of the form.  I'm thinking I probably need code in two separate places - at the table to force a unique ID on each table row as it's created, and at the dropdown list to pull a variable number of entries into the dropdown values.  Sending the table data out to a separate data file and then calling on the outside file to populate the list would be problematic for several reasons, so I'm hoping I can force all of this on the fly within the document.  I've been unable to find a code snippet online that would work in the way I intend.

 

Any help would be much appreciated!

 

Message was edited by: cyndilynnrose

Viewing all 5571 articles
Browse latest View live


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