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

Why would the TextField.font.size property not be working?

$
0
0

Hello discussion group,

 

I have this script in place:

 

var n = nFirst + nSecond + 17;

// last element represents no. of

// characters in ".@olmc.nsw.edu.au"

 

if (n >= 24) {

          if (n >= 27) {

                    topmostSubform.Page1.Email_address.font.size = "7pt"

          }

          else {

                    topmostSubform.Page1.Email_address.font.size = "8pt"

 

          }

}

else {

          topmostSubform.Page1.Email_address.font.size = "9pt"

};

 

Can anyone suggest why it might not be working? I'm able to change other properties of text fields like fill colour, border edge colour etc., but not font size. I've noticed some posting on this subject use the property TextField.textSize instead? I'm using LiveCycle Designer 9 / Acrobat X.

 

I'm trying to reduce the font size in a field for an email address so that it's not truncated except for an exceptionally long entry.

 

Perhaps I have the script attached to the wrong event. I've attached it to a calculate event.

 

Any assistance would be greatly appreciated.

 

Michael Sandel


Livecycle Designer 9.0 Action Feature

$
0
0

I am using LiveCycle Designer 9.0 to create an electronic form.  I am using the Action feature to add commands on how and when fields need to show.  I have added 30-40 Actions and the program will no longer let me add any more Actions.  Is there a limit and if not how do I regain access to adding Actions?

print to pdf not working on xml form

$
0
0

I have created an xml form in live cycle that I would like to make a regular pdf upon finalization so I can combine with another file.  The way I would like it to work is that a user fills out the form, signs and then sends to another user to sign off and on to the last and then it is finalized and converted to a regular pdf and then the form is combined with a regular pdf.  I have read many of the forums about removing the script, print to pdf, etc.  The option that works best for me since I want it to be dynamic until the last person signs off, is to print to a pdf but that is not working for me.  After I have finished filling out the form I sign it and save.  I then open it and print to pdf.  It is then saving as a regular file that I then have to convert in acrobat distiller to a pdf.  From reading other posts I should only have to print to pdf and it would create a flat file that I can then merge with a regular pdf but that is not what is happening.  Am I missing an option in the print settings or in my form?  This is too many steps for users.

Thanks

Drop Down List with a JSON object binding

$
0
0

I suspect I already know the answer to this, but here goes anyway...

 

Has anyone successfully created a Drop Down List with a JSON object binding?

 

If so, I'm looking for documentation / help / anything at all on how to do this.

 

I am not an IT programmer - but I have access to some.

Any information I gather will be passed on to them, so hopefully they will not shake their fists at me for even suggesting it.

And at this point I don't even know if it is possible, or if anyone has successfully done it.

 

Thanks in advance for any help you can give,

 

-Michelle

dynamic table

$
0
0

Hi All.

 

I would like create dynamic table where amount of columns are equal amount of days in according month. For instance, if user will enter first date of the month in table cell so table will have for:

January - 31 columns,

February - 28 or 29 dependence of the year ,

March - 31 column

 

and so on. If that is possible. How it to do?

 

Thanks.

values ​​loading XML file

$
0
0

HelloI have the followingxml fileloaded into apdf

 

myxml fileis structuredin this way:

 

<root>

     <list>

          <field code="A">

               <field1 code="100"  />

          </field>

          <field code="B">

               <field1 code="200"  />

          </field>

     </list>

</root>

 

In the firstdropdownlistI was able toload thefieldvalues​​(A, B, etc.)

  following this tutorial:http://forms.stefcameron.com/2006/07/29/dynamic-properties/

works well

 

 

the problem I havenowis how do Iloadin a seconddropdownlist, the values (100, 200) ​​from thexml fileaccording to thechoice madebefore?

 


 

Distribution Button can not use

$
0
0

Hi,

 

I have made some forms in LiveCycle Designer ES4 and I want to distribute them. But the distribution button is gray and I can not use it.

 

Why is this? Did I do something wrong or do I need another program for this?

 

Thanks in advance

Auto-fill from Date Field to Text Field in YYMMDD Format

$
0
0

Hello,

 

I need to auto-fill a text field with a date that is entered into a date field. I was able to accomplish this, but I couldn't figure out how to have it formatted in the text field as YYMMDD (with no spaces, dashes, etc.) instead of "MM/DD/YY" as it is displayed in the date field.

 

Could someone help me with the proper code?

 

Best Regards,

ZeroZone110


Dynamic Form include superfulous fonts

$
0
0

I have a dynamic PDF form that has references to Myriad Pro and Courier fonts. Previously the form also had references to Arial. However, when I save the form and inspect it with PDFGears, it shows that the Arial font remain embedded in the file. However, if I save the form as a static PDF form, the unused fonts are removed. The removed fonts in question were in fragments. What is causing this? Using LiveCycle Designer ES4 11.0.1

FORMS DON'T FUNCTION WHEN COMPLETED ON A MAC

$
0
0

My forms completed by users with MACs, do not display that data inserted into text fields. How do I get those text inserts to show up on the form?

Opening forms in browsers

$
0
0

I am only able to open the Adobe LifeCycle Designer ES2 forms in the Internet Explorer browser but not in the Mozilla Firefox or Chrome browsers. Why would something like that happen?  They used to work but for the past few months they haven't.

Drop Down List of Names Directs Submit Button to Specific Person Email

$
0
0

This has been a fun week for me in LiveCycle, and I bring yet another question to the Experts here:

 

I have a Form that has a drop down list with about 15 different names.

This Form will need a Submit Button that will automatically go to the email of the person select from the drop down.

Can anyone provide a coding example?

 

So far I found post by Stephen Cameron online: http://forms.stefcameron.com/2008/08/28/submitting-form-data-by-email/

But it is old and am wondering if this is still accurate, or is there a different (or simplier) method I should be doing?

I'm using LiveCycle Designer ES4 if it makes any difference.

 

Have a great weekend and as always... Thank You for Any Assistance!

 

-Michelle

How to reduce a PDF document that contains an Adobe XML form?

$
0
0

Hi,

 

I have created some fillable PDF files using Adobe LiveCycle Designer and used Adobe Acrobat Pro XI to save it as Reader Extended PDF > Enable More Tools (includes form fill-in and save)…

 

The form includes image, text field, check box, radio button, table and other controls, as well as java scripts behind. The files are from 1 to 3 MB in size. I tried Reduced Size PDF and Optimized PDF, but I got a message: “This PDF document contains an Adobe XML form. Such files cannot be optimized.”

My questions are:

 

  1. Is there a way I can reduce the file greatly, say about 100 KB?
  2. And after the size reduced,  does it still keep the original quality in format and function?

 

Thanks

Positioning subform choice sets disregarding of data occurrence order.

$
0
0

Hi, I'm facing an issue,

 

let say I have the following subform structure (simplified):

 

- subform set

   - form A (Checking)

   - form B (Saving)

    - form C (Credit Card)

 

Now, the subform set is a choice subform set, in the alternatives expression panel I have something like this:

 

form A: productCategory == "Checking";

form B: productCategory == "Saving";

form C: productCategory == "Credit Card";

 

And this is my (simplified) xml data:

 

<root>

    <account>

        <prodcutCategory>"Saving"<prodcutCategory>

        <productName>"Saving Account 2.0"<productName>

        <statuts>"Active"<statuts>

    </account>

    <account>

        <prodcutCategory>"Credit Card"<prodcutCategory>

        <productName>"Mastercard"<productName>

        <statuts>"Inactive"<statuts>

    </account>

    <account>

        <prodcutCategory>"Checking"<prodcutCategory>

        <productName>"Checking Account Plus"<productName>

        <statuts>"Active"<statuts>

    </account>

</root>

 

As you can see, the order in wich the data elements appear is not the same as the order I have my hierarchy formed. This results in having my hierarchy following the data order, and not the order I set in the first place, which I think it's a normal behavior.

 

However, I need to follow my hierarchy, disregarding the data ocurrence order.

 

I've tried to find some sort of index attribute in the subforms (there is actually an "index" attribute, but I couldn't work with it), but I had no luck.

 

If anyone knows how to achieve this, I'd appreciate it!.

 

Thanks.

How to restrict users who can use a submit button.

$
0
0

I have a submit button which I would like to limit the names of the users who can use it. Is there any way I can limit who can use it.

 

Thanks


javascript to replace cyrillic characters with latin characters

$
0
0

hi all,

 

I'm trying to build a form that contains one big text field and button. A user should be able to paste a text with cyrillic characters in the text field, then press the button and replace all cyrillic characters with appropriate latin characters. Is it possible to do that with javascript?

 

I did just that in excel by using VBA.

 

 

 

i tried this in Button1 click event:

 

     var txt = TextField1.rawValue;

 

     txt.rawValue = Replace(txt.rawValue,"Б","B");

 

 

i also tried with unicode character codes for this letters:

 

    

var txt = TextField1.rawValue;

 

     txt= Replace(txt,&#1041,&#66);

 

thanks in advance

Send email in html format

$
0
0

Hello everybody,

 

First of all:

I already searched via internet but couldn´t found an example which helped me to solve my problem. Anyway I believe it must be very simple what I want to do.

 

My Problem: I want to send an email in html format, but until now everything I tried didn´t worked. Please help me. What do I have to do?

 

I already tried a lot of code typing. For example this one:

this.resolveNode("#event").submit.target="mailto:"+email_adressen+"subject="+subject+"&Body="+body+"&MessageFormat=HTML";

 

 

But nothing is working, you always see the html tags in the text - they have no effect at all :-( .

 

 

Best regards,

Paolo

How can I make my form be a certified document?

$
0
0

Hi all,

 

In my form, I want to export xml by using the script "Reference_Syntax.exportData( [ STRING param1 [, BOOLEAN param2 ] ])",

for example, xfa.host.exportData("filename.xml",0).

However, it is invalid. 

 

It says that "This parameter1 is only valid on certified documents where the user has sufficient

permissions".

But how can I make my form be a certified document, or how can I get the sufficient permissions?

 

Script "xfa.host.exportData("",0)" can be valid, but what I need is specifying the location and file name so that users can export xml just by clicking the button.

Can I achieve this function?

 

Waiting for your reply, thanks a lot!

Ellie

xfa.host.importData();

$
0
0

A seeming simple bit of code:

 

xfa.host.importData();

 

in the click event of a button is supposed to open a dialog prompting a user to choose a data file, but doesn't.

 

Anyone know of what could suppress this? It doesn't work in LC ES 2 preview, or Acrobat X, or Reader 11.

 

Thanks.

xHTML Tables

$
0
0

My client is using LiveCycle to produce documents sourced from a web based application.  One of their requirements is for the document template to include rich text data from the source application which will include tables and other rich text input formatted by the user.  Currently they are using LiveCycle Designer to format these output documents which includes text fields linked to these specific rich text fields from the source application. 

 

Given that XFA only supports a subset of xhtml which does not include the table tag, this is not meeting the customers requirement to have the final document display the rich text entered by the user in the source application(which would include tables).  There is no need to manipulate the rich text format from the source system because the user will have already formatted the test in the source application.  The document is only aranging the varoius data fields from the source application and creating a final set of PDF output documents

 

I'm trying to determine how this requirement (rich text inclusive of tables) can be met in the LiveCycle suite of applications.  Should this rich text data first be converted to another format at an earlier point in the LiveCycle workflow before being included in the designer form.  Is designer the appropriate application for designing these forms given that the final documents are output only and are not intended for capturing user input?

 

Thanks in advance for the assistance

Viewing all 5571 articles
Browse latest View live


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