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

Missing Georgian Language in LOCALE

$
0
0

Hi all,

 

 

I want to create a PDF form using Livecycle Desinger, but during the working process I found that the ES4 does not support Georgian language. In Georgia (country not state) we speak and write Georgian.

 

While saying ES4 does not support Georgian language I mean that it is not in the LOCALE list which is given in Object Pallete, Fields Tab. when in the LOCALE is indicated DEFAULT LOCALE it uses the Computer Language and when you for example change it from English to Spanish it starts typing on Spanish. But as Georgian Language is not indicated in the LOCALE list it does not understand when I change my Computer Language to Georgian. 

 

Yes I can change the FONT of the objects itself, but that will mean that I'll be able to write only on Georgian and not English. But sometimes I need to write on both languages.

 

 

Is there any chance for me to solve this problem ? 

 

 

Thanks in advance for your help I really appreciate it.

 

 

P.S. Hope I've explaned my question clearly


warning message

$
0
0

There is any way, when a user select a number from a DDL which starts from 123 a warning window to come up and

 

inform them that they have to fill a specific field?

 

Thank you

Help with DDL

$
0
0

I have two DDL

DDL_A

Items:DepartmentA, DepartmentB

 

DDL_B

Items: 1233215000, 5672006000 (I have lots of numbers that starts with 123...Total 10 digits and lots of numbers that start with 567... and so on)

 

 

How I can force the user if they select a number that starts with 123.. from DDL_B the display item for DDL_A always will be:DepartmentA

 

Thanks

Limit word count in a text field?

$
0
0

I have two fields:

txtStageContent (where the user types in information)

WordCountResult (this field displays the words counted in the txtStageContent)

 

in the exit event for txtStageContent I have the following code to count the number of words (which works):

var cnt = word_count(this.rawValue);

WordCountResultTwo.rawValue = cnt.toString();

 

function word_count(textParam)

{

          textParam = textParam.replace(/^\s*|\s*$/g,'');

            if (textParam)

                      return textParam.split(/\s+/).length;

          else

                      return 0;

}

 

My Question is:

I would like to have a limit of 700 words in the txtStageContent text field, can this be done?

 

Thanks in advance for your help!!

How can I use a script in a Livecycle Designer form, to force display of text in Title Case?

$
0
0

Hello,

 

I am a 'novice' who is DIY'ing the construction of a dynamic pdf form, using Adobe Livecycle Designer 7 (I know, it's a VERY old version!)

[So, any help that comes along must be 'for Idiots'!]

 

I need to construct a code (Java script?) so that a few of my text-fields DISPLAY data in Title Case - IRRESPECTIVE of how the user types in the data.

 

So, for example, in a "Address" text-field...

 

If someone types in ..

 

"205 sherborne avenue"

 

- OR -

 

"205 Sherborne avenue"

 

- OR -

 

"205 SHERBORNE AVENUE"...

 

I need the data to be DISPLAYED ESSENTIALLY as...

 

"205 Sherborne Avenue".

 

I found the following code online, and tried it in the 'exit' event of the field I need to modify (with 'language' selected as JavaScript)...

 

<   this.rawValue = this.rawValue.replace(/\b([a-z])/g, function (_, initial) {return initial.toUpperCase();});   >

 

... This did convert all the 'initial' letters of the words to Upper Case - AS LONG AS they were not ALL typed in Upper Case!

 

So, that code worked for the first two of my samples for Sherborne Avenue above - but it did NOT work for the last one...

 

That is, "205 SHERBORNE AVENUE" did NOT get converted to Title Case - which is what I need help with.

 

Thanks in advance...

Create days from an input date

$
0
0

I need to create a new date based on a user input date by adding a specific number of days.  I am just unsure how to reference the field that has the user input date and then add the number of days to create a new date.  I hope that makes sense.

 

Thank you!!

creating and populating a form with an expandable subform via asp

$
0
0

I'm trying to do two things:

1. create a form which has an expandable subform

2. populate the form with data from a database submitted through an asp page.

 

I believe I've figured out how to make the form.

Does anyone know the best way to send data to the form?

 

The expandable subform will display rows of data which vary in quantity

I know that I can dictate the number of rows based on a variable passed from the asp page, but how would I go about populating each row with its data?

 

A nudge in the right direction would be of great help!

 

Thanks,

Referencing all nested subforms in a subform?

$
0
0

I have a subform, "OtherCaseAll_sf", with 11 checkboxes and 11 subforms ("OtherCase_sf[]"), all set to readOnly. Based on a user selection on a radio button, I either if == "1", open the parent subform "OtherCaseAll_sf", or if == "2", reset the fields in the subforms and make "OtherCaseAll_sf" readOnly again. Here's what I have on the Change event for the radio button grp:

 

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

OtherCaseAll_sf.access = "open";

} elseif (this.rawValue == "2") {

    var f1 = OtherCaseAll_sf.somExpression;

    xfa.host.resetData(f1);

OtherCaseAll_sf.access = "readOnly";

}

 

I preview my form, click "1" - great, my 11 checkboxes open up as planned. I check CB1, which has

 

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

OtherCase_sf.access = "open";

} elseif (this.rawValue == "Off") {

    var f1 = OtherCase_sf.somExpression;

    xfa.host.resetData(f1);

    OtherCase_sf.access = "readOnly";

}

 

OtherCase_sf opens up, great. If I unclick CB1, the data entered in OtherCase_sf clears out, and OtherCase_sf goes back to readOnly.

 

If I do not unclick CB1, but instead change my mind on the first radio button (change to "2"), the data clears out and the subform OtherCaseAll_sf seems to be read only. However, if I now toggle between "1" and "2", whichever subform "OtherCase_sf[]" I had opened before remains open. I thought the access property for the container subform OtherCaseAll_sf would override anything else.

 

What am I missing?????


Limit date field to NOT allow random text?

$
0
0

Hi there,

 

I am using LiveCycle ES3.  This may seem like a silly question, but how do I prevent users from entering random, non-date text, like "adsfasdfkafsdj" into a date field?  I have set the field to required, and set the edit/validation/display validation patterns as indicated below, but still I can enter random text into the field. It pops up my custom error message saying the date is in the wrong format and to re-enter it correctly, but then the cursor just skips to the next field, leaves the incorrect text in the date field, and doesn't require the user to correct it. 

 

Display Pattern

date{MM/DD/YY}

 

Edit Pattern

date{M/D/YY}|date{M/D/YYYY}|date{MM/DD/YY}|date{MM/DD/YYYY}|date{M/DD/ YY}|date{M/DD/YYYY}|date{MM/D/YY}|date{MM/D/YYYY}|date{M.D.YY}|date{M. D.YYYY}|date{MM.DD.YY}|date{MM.DD.YYYY}|date{M.DD.YY}|date{M.DD.YYYY}| date{MM.D.YY}|date{MM.D.YYYY}|date{M-D-YY}|date{M-D-YYYY}|date{MM-DD-Y Y}|date{MM-DD-YYYY}|date{M-DD-YY}|date{M-DD-YYYY}|date{MM-D-YY}|date{M M-D-YYYY}|date{MMDDYY}|date{MMDDYYYY}

 

Validation Pattern

date{M/D/YY}|date{M/D/YYYY}|date{MM/DD/YY}|date{MM/DD/YYYY}|date{M/DD/ YY}|date{M/DD/YYYY}|date{MM/D/YY}|date{MM/D/YYYY}|date{M.D.YY}|date{M. D.YYYY}|date{MM.DD.YY}|date{MM.DD.YYYY}|date{M.DD.YY}|date{M.DD.YYYY}| date{MM.D.YY}|date{MM.D.YYYY}|date{M-D-YY}|date{M-D-YYYY}|date{MM-DD-Y Y}|date{MM-DD-YYYY}|date{M-DD-YY}|date{M-DD-YYYY}|date{MM-D-YY}|date{M M-D-YYYY}|date{MMDDYY}|date{MMDDYYYY}

 

With the patterns I have above, the user should ONLY be allowed to enter data in one of these formats, correct?  I'm at a loss as to why this isn't working the way it's supposed to.

 

Thanks.

How do I create a button that allows the user to check their form for errors?

$
0
0

Hi there,

 

I am using LiveCycle ES3.  I would like to insert at the end of my form (standalone form, NOT a web form) a button which allows the user to check their form for errors, then display a list of the errors and highlight the fields which have the errors.  Lastly, it should unhighlight these fields when the errors have been fixed. 

 

Also, within the form, if the user makes certain selections, they are required to include an attachment with their form.  I would like to make it so when they make selections requiring an attachment, a field is generated at the end of the form which lists out all of the required attachments.  Is this possible?

 

Thank you.

Create strikethrough button

$
0
0

I want to create a button when clicked can strikethrough a text. Could I do that in LiveCycle Designer?

JavaScript: Help with IF Statement

$
0
0

I am not familar with Java and I have been fighting with this IF statement and I cannot get it to work.  I am sure it is something fairly basic.  Can anyone help?  I have seeminly tried everything.  In this example below I am trying to check if the data the user has entered in the FAVOR field is AAA and if it is then put up a message and if it isn't then put up a different message.  My top node in my hierarcy is data and then I have a MainSubform and then a Contact02Subform.  I have this code attached to a button and notthing happens when I click the button.  If I remove the if statement and just have the message box by itself then it shows the message box.  So I know it is my IF statement and I am sure it is simple.  Help please?

 

 

if

(xfa.resolveNode("xfa.form.data.MainSubform.Contact02Subform.FAVOR"). rawValue == 'AAA')

{

  xfa.host.messageBox("My IF");

 

else;

  xfa.host.messageBox("My ELSE");

endif;

####

###

#

 

 

 

 

Drop down list value dependant on value in another drop down list

$
0
0

Hi

I am not familiar with Java Script so if anyone can advise me on this I would be grateful.  I am using ADobe Livecycle V8.0.

 

I have two drop down lists - DDL1 and DDL2.

The choices in DDL1 are "High, Medium, Low, None"

The choices in DDL2 are "Positive, Negative, None"

 

If "None" is selected in DDL1 I want DDL2 to display "None". 

 

If any of the other values are selected in DDL1, then I don't want anything autofilled in DDL2.

 

Hope this makes sense!

Thank you.

Print multiple copies with unique distribution instructions

$
0
0

Hello,

 

Is there a Livecycle javascript that can be applied to a PRINT button on a single page that will print multiple copies with each copy having a unique distribution field at the bottom of each page?

 

For example:

 

The first copy shows the field "DEALER COPY", followed by the message "Print Dealer Copy?,  then prints after user clicks OK.

 

The second copy hides "DEALER COPY", then shows the field "CUSTOMER COPY", followed by the message "Print Customer Copy?, then prints after user clicks OK.

 

I can create this script easily in Acrobat Pro, but not in Livecycle Designer.

 

Can you help me?

 

Thanks

Eric

sum fields of different instances of subform

$
0
0

I have a field in repeating subform I want to add with the previous fields in the previous instances. How could I accomplish that?

 

Thanks


Limit the value in decimal field

$
0
0

I want to limit the value entered into the decimal field to be less than a specified number, e.g. 500.00. Can I do that in livecycle designer?

Hidden Drop Down List and Text Field Won't Allow User Selection/Entry. What to do?

$
0
0

I have a form with four radio buttons, E,F,G, and H. Using subforms and javasript on Calculate, I can get all buttons to reveal the correct hidden subform fields. But, the drop menu and user entry text fields will not allow user interaction/entry. Is there a simple way to make those fields active for user entry? The forms were originally created in LiveCycle Designer 8.2.1

Count of non-empty rows of a table

$
0
0

How to I get the number of non-empty rows of a table ?

 

Thanks

Create time difference between fields

$
0
0

I am trying to calculate the difference in minutes between one autocalculated field to another autocalculated field.  Is this even possible?  I have tried many different codes found online but I am unsure how to reference the specific fields.  This is the autocalc code for both fields:

 

$.rawValue = Concat(Num2Date(Date(), "M/DD/YY"), " ", Num2Time(Time(), "h:MM"))

 

Any thoughts?

 

Thank you!!!

Actions one page affecting another page.

$
0
0

Peep's. Need your assistance here.

 

Using LS Designer i've put together quite an elaborate form for our Company's IT access requests.

 

Now one snag i've run into is related to the drop down lists with added actions that display hidden fields.

 

For example on Page.1 I have a drop down list for the Department Selection. Based on the selection from this list it then displays a hidden text field on the same page.

 

Subsequently on Page 2 there is another drop down list with a hidden text field based on another seperate set action.

 

Now, testing in both Acrobat X Pro and Adobe Reader 9 If i make the Department selection on Page 1 which results in the hidden field appearing it then renders the 2nd drop down list on page 2 as non-operational where it's action does not function at all.

 

As a further test, I first selected the drop down on Page 2 which worked fine and the hidden text field appeared, but the drop down on Page 1 then stopped working and the action hidden field did not appear.

 

I'm at a total lost as to why action on page affects the action on another page when their set conditions have nothing to do with each other.

 

Any ideas anyone? (hope i've explained this as clear as possible)

Viewing all 5571 articles
Browse latest View live


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