Hi to all,
I'm beginner without training on adobe. Sorry.
I'm creating my new documents with fields for filling in LCD 8.0.
I cannot store the documents with adobe reader XI.
Whta's wrong??
Thank you for helping me.
Wolfgang from Hamburg
Hi to all,
I'm beginner without training on adobe. Sorry.
I'm creating my new documents with fields for filling in LCD 8.0.
I cannot store the documents with adobe reader XI.
Whta's wrong??
Thank you for helping me.
Wolfgang from Hamburg
Hi,
Is there a way to invoke pattern validation in script? or check if the field passes pattern validation?
The reasoning behind it is to avoid writing validation script which essentially does the same thing as parrtern validation.
Thanks.
I have a fillable form with objects like radio buttons, check boxes, and text fields. When user selects a choice by clicking on a radio button, I want some of the objects, like all radio buttons in the radio button group, still visible but not selectable. I tried the following but it does not work as expected:
// form1.page1.showControlButton.hide::click - (JavaScript, client)
....
page1.optionButton.presence = "inactive";
page1.optionButton.b1.presence = "inactive";
page1.optionButton.b2.presence = "inactive";
page1.optionButton.b2.presence = "inactive";
This is my first time using the feature (visible/hidden/inactive) in LiveCycle designer. I can hide them but can't block them. Can anybody help me?
Thanks
Sam
I have a large form that contains over 50 pages. The first page is a flowable user input form.
There are several fields which are common with other fields in the various underlying hidden pages. When a user selects an account type from a dropdown list, the appropriate account opening checklist appears as page 2.
The user then selects various checkboxes which then makes the appropriate additional pages visible. Thes additional pages contain fields that should autopopulate based on the data entered in page 1 input form.
The fields that are globally bound are fine. The problem is fields where I need to script to autopopulate. For example, there is a ACH authorization distribution section with 2 checkboxes (one for Checking one for Savings) and one Account number field. The page for ACH data, shows the ABA and Bank Name fine since those are globally bound, but the account number is 2 separate fields that I need to script in order to fill in but it is not working correctly.
I think it is the event I have used but I'm not sure which event is best to place the script in. I started in the initialize event of that page but that doesnt work. If I click the checking/savings checkbox again after the ach page is visible, the field populates.
How do I get the field to be prefilled as soon as it becomes visible?
I am very new to scripting and LC. Any suggestions would be greatly appreciated!
Hi all, I am a developer working on sending an encrypted email of xml data using the Adobe LiveCycle designer es4. I was able to successfully accomplish this but I was unable to decrypt this using c#.NET. I created a certificate and the AES128 algorithm which is an option in the submit email button settings. I was able to extract the public key from the x509certificate data in the email and match that as well as the serial number to verify I am using the same certificate. I then use the x509certificate2 object in c# to get the private key which I use for decryption. I am not getting any errors but my string function is returning junk. If anybody has had this problem before any advice would be very much appreciated. It would also be helpful to know the code behind the adobe encryption. Thanks
Hello,
I am creating a form and there is a secion for 'Add a Dependent'. The form only show enough fields for one dependent. I have created a button that says 'Add a Dependent'. When the user clicks on this button I would like the section to show up again, asking for the information for the new dependent. Also, there will be a cancel button so that if they click on 'add a dependent' too many times, they can cancel each one individually if needed.The purpose for this is because it will take up much less space in the form. Can anyone help?
Thank you in advance,
Nik
Hi,
I have connection with Adobe Livecycle and my company LDAP.
I write a sql query, where get two values from LDAP- name(employees) and title(they position in company).
This result i put in two dropdown list and need this field to merge. Now this field value is separately. What can I do to bring these value?
Thanks!
Good morning all,
I have this method:
var successFillColor = "204,255,255"; //Aqua
var reqFillColor = "255,255,0"; //Yellow
function validateACESID()
{
var _Pattern = /^(\d{7})$/;
var entered_text = VisitInformation.PatientInfo_subform.ACESID_TF.rawValue;
if(_Pattern.test(entered_text))
{
unHighlight(VisitInformation.PatientInfo_subform.ACESID_TF) ;
}
else
{
requiredHighlight(VisitInformation.PatientInfo_subform.ACES ID_TF);
}
}
function unHighlight(fld)
{
fld.fillColor = successFillColor;
}
function requiredHighlight(fld)
{
fld.fillColor = reqFillColor;
}
When I call this method with "VisitInfo_Validation.validateACESID();" in OnExit it works perfectly, it highlights it yellow when the value is not 7 digits and then highlights it aqua when it is. Now, when I call this method in the OnChange it doesn't catch the true clause of the if statement, only the else.
If anyone can shed some light on this that would be very appreciated, thank you.
james
Hi
I have been searching for the last hour to find out ho i can limit the numeric field on my livecycle form. I have seen lots of java script however nothing seems to work, all i want is for the user only to enter 6 digits (e.g. 123456) and if they try to enter more a message would say that only a 6 digit number can be entered.
This is driving me mad for something i though would be quite simple.
Can anybody help?
I need the tab order to change based on the user's choice in a drop-down at the top of the form. How do I do that?
Hello,
I have 12 checkboxes on page 1 of my form. There are 12 subforms (4 on each page for a total of 3 pages) which contain identifical tables of header row and Row1 in each subform. One subform for each checkbox. All are name similarly but with different names. Checkboxes are set to On=1 and Off=0.
The object is to have a checkbox display or hide a subform.
They work but only one page works at a time.For instance if I get page 3 working then pages 1 and 2 don't work and so forth.
Here's the script in the check box click event:
if (this.rawValue == '1')
{
table1.presence = "visible";
}
else if (this.rawValue == '0')
{
table1.presence = "hidden";
}
Any thoughts on what's happening?
Thanks,
MDawn
I have used the Font palette to change the font size to 0 under value properties. For some text boxes this turns on the auto text resize as it should. Sometimes when I reposition a text box or change the size of the text box the font auto resize turns off. When this happens instead of 0 font size making the font get smaller as more data is entered, it just makes all the data very very small regardless of number of characters.
Occassionally a "Tips and hints" box appears when resizing a text box that states:
"Resizing a text object by draggin its borders turns off the object's Expand to Fit option. This option automatically changes the size of a text object as you add or delete text. You can turn the Expand to Fit option back on in the Layout palette."
My question is how? When this option is turned off the font size still shows as 0 in the font palette. Changing the number and then chaning again back to 0 does not turn it on.
I have read some posts discussing the script language of these settings. How do I access the script? Or is there a method another method to reactive auto resize of the text?
Please help me accomplish the following requirements for my PDF form:
1) the form has one main page and a mostly blank continuation page for overflow.
2) the fields on the main page cannot expand so I can't use flow layout to change the size of a field for overflow.
3) there are certain fields on the page which should allow for overflow by moving the entire text to a continuation page and adding a note in the original text field that says "see continuation page"
I am new to LiveCycle so I am not too familiar with how the scripting works. I've gone through some tutorials but most only barely touch upon scripting.
Let's say the field on the main page that needs to allow for overflow is called "Justification." The field on the continuation page is called "Overflow." Here is my pseudo code for what I need to do:
if (textToAdd.length > Justification.maxLength()) {
Justification.setText("see continuation page");
addContinuationPage();
getContinuationPage().getField('Overflow').setText(textToAdd);
}
Can someone give me an example of a form where the user selects from a dropdown object, and based on that selection, a data table is populated. Different selection displays different data pulled from the XML file. I need to learn how to create the XML file and the script to make this work.
Thanks
Hi,
we are in the process of moving into a new infratructure and that means that we have users in two networks and they are using two different adresses to reach the same server i.e www.forms.se and www.forms2.se. We are calling forms from inside a base form by using gotoURL (...gotoURL("http://www.forms.se/staticforms/123.pdf")
My challenge is that I need to be able to retrieve the baseURL and concat that with adress to the form so both this adresses can be used.I have tried to use the doc.baseURL but I don´t get anything back. I have tried to use this code -
var oDoc = event.target;
var urlString = oDoc.baseURL;
Any ideas?
regards
Tommy
I am using Lifecycle Designer, and we are on version 8. I have looked through the Acrobat 8 PDF bible, and have also been searching the web but cannot figure out a way to do what I want. I see a lot of scripts, where you can set up a submit button to only work if a text box is filled out, but how do I do that based on a digital signature being unsigned. I have seen scripts that make the dig. signature mandatory, but even when signing it, the script still thinks it is null. Another option that would work would be if the submit button was read only, until the digital signature was signed. We are not using the email submit button or the HTTP submit buttion because we wanted to have the entire PDF returned not just the xml. Is what I am trying to do possible? I do not have much experience with java script of formcalc.
thanks in advance,
Nat
Hello, I want to show one field with a specific colour whenever value is inserted in the field.For doing the same I have created one action but not getting proper result.Could anybody suggest me that how I can get my result in exact way by seeing the screen shot.I am waiting for your valuable response.
Hi everyone,
I'm working on a form that needs to copy a value the user has entered and display it in another field when the add row button is clicked in a repeatable table. To give you a quick idea of what this looks like, refer to the screen print below:
The user enters the Start Meter and End Meter Values, and the Qty Gallon fields are automatically calculated. As of now the user enters both the Start Meter (SM) and Ender Meter (EM) values in the first row. Here it is displayed as SM = 1,000 and EM = 2,000. In the exit event of the EM field, the SM field in the next row automatically prefills with that value. As you can see, the second row has 2,000 as the value.
This works because when the form is opened the three rows you can see here are already created. However, when the add row button is clicked, the new row is empty of values and does not prefill the SM field with the last EM value. If this problem was solved, I would be able to add a new row and the SM field would be populated with the value 4,000 (if we continue with the example provided).
The code I've been working on looks like this:
if (xfa.resolveNode("Row1[" + Usage._Row1.count-1 +"].em").rawValue >0) { xfa.resolveNode("Row1[" + Usage._Row1.count + "].sm").rawValue = xfa.resolveNode("Row1[" + Usage_Row1.count-1 +"].em").rawValue; }
Anyone have any ideas? Thank you in advance!
I am very very new to using Adobe & am trying to create my first ever form using Adobe Designer 7.0 (I believe this is an old program?)
I am having trouble getting a check box to do what I am actually asking and am looking for some help.
I am wanting to add a check box that clients MUST check to state they have read the above statement & agree to the terms & conditions
I would like this check box to be mandatory & for the form to not submit if this check box is not checked with an error message stating the reason for failure.
I have made other text fields mandatory & I have also got to the stage where the checkbox is mandatory (showing in red when highlighted required fields is turned on) but still if I do not check the box it still lets me submit the form.
Any help anyone could provide me would be wonderfully appreciated. I have googled for endless hours trying to work this out & know nothing about java script.
Many thanks in advance
I am designing a form and am struggling with implementing a if then javascript statement and am curious if there is anything this community can help me with. Here is the scenario.
I have a drop down list called park1.
I have a numerical field called possible1.
I would like to set the dropdown, and based on what the option in the drop down is, have the possible field auto populate with a value.
Here is my javascript code, which I can find no errors in.
if(park1.value == 1) {
possible1.value = '40';
} else if(park1.value == 2) {
possible1.value = 40;
} else if(park1.value == 3){
possible1.value = 35;
} else if(park1.value == 4) {
possible1.value = 40;
} else if(park1.value == 5) {
possible1.value = 30;
} else if(park1.value == 6) {
possible1.value = 30;
} else if(park1.value == 7) {
possible1.value = 35;
} else if(park1.value == 8) {
possible1.value = 40;
} else if(park1.value == 9) {
possible1.value = 40;
} else if(park1.value == 10) {
possible1.value = 35;
} else if(park1.value == 11) {
possible1.value = 40;
} else if(park1.value == 12) {
possible1.value = 40;
} else if(park1.value == 13) {
possible1.value = 30;
} else if(park1.value == 14) {
possible1.value = 35;
} else if(park1.value == 15) {
possible1.value = 40;
} else if(park1.value == 16) {
possible1.value = 40;
} else if(park1.value == 17) {
possible1.value = 35;
} else if(park1.value == 17) {
possible1.value = 35;
} else if(park1.value == 18) {
possible1.value = 30;
} else if(park1.value == 19) {
possible1.value = 35;
} else if(park1.value == 20) {
possible1.value = 30;
} else if(park1.value == 21) {
possible1.value = 40;
} else if(park1.value == 22) {
possible1.value = 35;
} else if(park1.value == 23) {
possible1.value = 35;
} else if(park1.value == 24) {
possible1.value = 40;
} else if(park1.value == 25) {
possible1.value = 40;
} else if(park1.value == 26) {
possible1.value = 35;
} else {
possible1.value = 0;
}
So if the first option, or the drop down option with a value of 1 is set in park1, it should populate possible1 with 40. and so on.
All I get when I implement this on the possible1 field, is a blank white box for possible1. It never changes and is not fillable.
Any help is appreciated. I feel like i am missing something very simple here.
Thanks,