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

Why doesn't new field label/caption replace the old caption?

$
0
0

My customers change their minds quite a bit about the language that should appear on their printouts, which I'm creating using LiveCycle Designer.

I have seen a recurring issue: When I paste a new caption into the Field Tab or into the Caption Reserve directly, the new copy doesn't appear on the printout.

It appears in the layout, in the Field/Caption box, but when I create my PDF, the old value is displayed.

 

Why? Is there something I should be doing to purge the old value?

My current workaround is to recreate the field from scratch, which wastes quite a bit of time.

 

captionSadness.png


Adding Suffix to date fields

$
0
0

Hi,

How can I add suffix to the data fields i.e. st, th, rd nd.

I have a requirement where I need to add the following text "1st Day of Jan 2014" or "23rd Day of Jan 2015".

I was able to format it as "1 Day of Jan 2014" using pattern as "date{J 'DAY OF' MMM YYYY}".

Any thoughts?

issues adding multiple items to a drop down list

$
0
0

I am working on a form and it's been a long while but I have a sreadsheet with over 1000 items listed that I want to use to populate a drop down list. I only see a way to add one item at a time. What am I missing?

Thank you,

Alison

 

 

Is it possible to add non-contiguous instances of a subform

$
0
0

Hi there,

 

Our staff may fill out a form with say, 10 repeated subforms ("add instance"), then need to go back and add another instance, not after record 10, but after record 3.  Or they may need to add records in alpha order.

 

How can I set up the "Add Record" button so that the instance is added at that point in the form, rather than at the very end of the records?

 

Am I explaining this clearly? They need to go back and add an instance in between other existing instances...

 

Here's the form itself:

 

Dropbox - AFBS_90-Plus_091814.pdf

 

Many thanks to anyone who can help me build in this function to make our staff's life easier!

Laura

How can I make a cell/text box not possible to fill in?

$
0
0

How can I make a cell/text box not possible to fill in? In this case it is an order form where the customers can fill in quantity under each size box. Some size we don't have and therefore I want to make it impossible to fill that box in?

Dialog boxes text limit?

$
0
0

Is there a limit to the amount of text that can be displayed in a dialog box.

timer in livecycle

$
0
0

Hi everybody

 

I try to get the presence of these objects when the file is opened. I use the initialize event. It works in a random way. Sometimes it's OK, sometimes it stops anywhere and sometimes it doesn't start. I assume that a pause is needed. But how can I do that.

 

Many thanks for your help !

 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.one").presence = "visible";', 500); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.two").presence = "visible";', 1000); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.three").presence = "visible";', 1500); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.four").presence = "visible";', 2000);

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.five").presence = "visible";', 2500);  

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.six").presence = "visible";', 3000); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.seven").presence = "visible";', 3500); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.eight").presence = "visible";', 4000); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.nine").presence = "visible";', 4500); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.ten").presence = "visible";', 5000); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.eleven").presence = "visible";', 5500); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.twelve").presence = "visible";', 6000); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.thirteen").presence = "visible";', 6500); 

var Test = app.setTimeOut('xfa.resolveNode("xfa.form.ira.Page1.help_number.fourteen").presence = "visible";', 7000); 

Invalid Barcode Value

$
0
0

Could you guide me how do I insert horizonatal tab inbetween two fields using formcalc or Javascirpt in code128A.


embed a swf

$
0
0

Hi Everyone,

 

Is there a way to embed a swf into a livecycle designer form?

 

Adobe.TV has a video out there that talks about this, but it says that you have to first embed the swf into the pdf in Acrobat and then bring that pdf into livecycle and then start working with it as a form.

 

Why can't I just embed the swf in livecycle in the same way that I insert an image?

 

Many Thanks,

Joe

How to validate required fields before executing menu item ("Save As") using cutom Javascript?

$
0
0

Hi,

 

Sorry, I am new to PDF Development. I tried creating PDF using Acrobat XI Pro. During creation, I have encountered issues in running custom JavaScript. The requirement is to validate all the required fields before saving the PDF. I tried using the following scripts to validate the said required fields. But, it's not working.

 

Option 1: If the field is null, a message box will appear.

if(this.getfield("textbox") = null){

app.alert("required");

}

else {app.execMenuItem("SaveAs");}

 

Option 2: If the field is required, a message box will appear.

var f = this.getField("textbox");
f.required = true;

if(f = true)
{
app.alert('required');
}
else
{
app.execMenuItem("SaveAs");
}

 

The scripts mentioned above are not working. I wanted to validate the required fields before saving the PDF.

 

In addition, I tried validating each field using the following script:

f = getField(event.target.name)

if (f.value.length == 0)

    {

    f.setFocus()

    //Optional Message - Comment out the next line to remove

    app.alert("This field is required. Please enter a value.")

    }

 

When I open the PDF, the script is working. However, when the message box pops out, the "OK" button is not working as expected. The message box is not closing. I tried opening the form in a site in different Java versions (like 7-11 and 7-67). It's working in version 7-67. I tried upgrading the Java version from 7-11 to 7-67. Still, it doesn't work.

 

I would appreciate your feedback on this matter.

 

 

 

AFP format to PDF/XML

$
0
0

Hi.

Can someone please let me know if we can convert .afp files into either XML/PDF files?

 

[Background: Currently, we have the data in .afp file format. We use some third party tool to convert .afp file into a static pdf. The data is not available in the DB. Now the idea is to convert the .afp file into an XML file (if possible) and use this XML file as an input to new interactive PDF]

 

Thanks in advance.

 

Regards,

VJ

Multi-line entries in drop-down

$
0
0

Hi - I have a drop-down with a very long list, displaying in a fixed field area. Some of the entries are very long, and since the drop-down only allows one line, the rest of the entry is obscured. Is there any way to get the drop-down to display multi-line? Or at least to commit the selection to the fixed filed area as multi-line?

Paragraph construction with fillable fields

$
0
0

Not sure if this is possible, but I wanted to know if it would be possible to basically have a form letter with blanks within the sentences that could be filled in, and once filled in, the field would shrink to the size of whatever was entered and the text after the field would also conform to the new text. Below is an example:

 

We received your request on _________________________________ and will process

your ______________________________ within _______ business days.

 

would reformat to

 

We received your request on 9/25/2014 and will process

your hardship claim within 10 business days.

Caption Dynamic Property handling of variable data

$
0
0

I have a dynamic form containing a number of fields whose captions will vary based upon the data given to it. Say the data looks something like this:

 

<?xml version="1.0" encoding="UTF-8"?><Root>   <Drinks>      <Drink>         <Name>Coke</Name>      </Drink>      <Drink>         <Name>Pepsi</Name>      </Drink>      <Drink>         <Name>RC Cola</Name>      </Drink>   </Drinks></Root>

 

I’ve attempted to set the caption of each field to the corresponding Name by using Dynamic Properties, $record.Drinks.Drink[*].Name in this case.

The following is generated in the XML: <setProperty target="caption.value.#text" ref="$record.Drinks.Drink[*].Name"/>

But the result is that the all Captions are set to the same value, the first child node of Drinks (Coke).

A link to the PDF is here: https://files.acrobat.com/a/preview/987ba4fa-19e4-4e38-8147-a75c12daaa7c. You can import the above XML to reproduce the issue.

Create a customer code using the First letter of a customer name and the last 4 digits of a phone number

$
0
0

I am trying to create a form where one the customer has input their name and phone number it should grab the first letter of the customer's name and then the last 4 digits of the phone number.

 

I am not very good at coding, and have VERY VERY limited background in coding. I understand a little (the basics pretty much).

 

I am thinking i am not using the right expression to get what i want. Below is the statement I have write. This is just to find the first letter of the name, have an idea on how to get the phone number but i was trying the use the "left" and "right" functions but they wouldn't work. More specifically the left.

 

form1.#subform[0].CustCode::initialize - (JavaScript, client)

str = CustName;

var a = str.substr(0, 1);

 

any help would be greatly appreciated.

 

If more information is needed, please don't hesitate to ask.


Yesterday, i posted asking for help to get a Customer code working. Now the statement is not actually showing what what's its creating.

$
0
0

I pasted the statement into my form and it didn't have anymore syntax errors but now it is not actually creating the code. i type in the name and a phone number but nothing is happening?

 

If you need anymore info please ask. I'm not sure what else to post to help.

How do I get the selected value of a drop down whose items are generated at runtime?

$
0
0

I've been at this all day, with no luck.

 

I have a drop down whose values are generated at runtime via javascript on the Enter event. This code generates the list of items from another repeatable subform in the document:

 

this.clearItems();

var vItems = xfa.resolveNodes("People.Person[*]");
for(i=0; i<vItems.length; i++)
{  var name = vItems.item(i).DisplayName.rawValue;  if (name != null)  {    this.addItem(name);  }
}

 

This works perfectly. I can select any of the "DisplayName"s listed under the repeatable "Person" subform.

 

My problem is that it seems dynamically generating the possible values like this prevents me from reading the rawValue of the drop down. For example, I put the following in a button ("PersonName" is the dynamic drop down I'm working with):

 

xfa.host.messageBox(PersonName.rawValue);

 

When I click the button, nothing happens. if I point it at a different drop down that had their items defined statically within the GUI, the message box pops up and shows the current value, as expected.

 

The same goes for selectedIndex, boundItem, and pretty much everything else I've tried. What makes it stranger is that I'm still able to programatically set the rawValue... i.e.:

 

PersonName.rawValue = "Test";

 

What am I doing wrong here? I've even enabled debugging and watched for any exceptions... nothing. Any code I write that tries to read from a drop down whose values are generated at run time just doesn't seem to execute.

 

I would appreciate any help that you guys might be able to offer. Thanks!

 

-Scott

How to force user to upload specific number of attachments?

$
0
0

I have a form where users select checkboxes to attach a document.  I need to script that will compare the number of checkboxs selected with the number of attachments, and pop up an error message if these aren't the same.

 

Suggestions?

 

Thanks!

LiveCycle Repeating Subform on Every Page

$
0
0

I have a repeating subform on page 1 and need to have this list repeat on the top of every page. Can someone please let me know how to accomplish this.

 

Best regards,

Parre

Looking for a PDF protector option

$
0
0

Hi Guys,

 

I am looking to build an online magazine store and I would like to let the visitors purchase the articles or books in the PDF format.

 

I want these PDF to be protected and dont want them to be circulated for free over the internet.

 

Is there any Adobe tool which can help me achieve this.

 

Your help will be appreciated.

Viewing all 5571 articles
Browse latest View live


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