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

2nd Edition of J.P. Terry's LiveCycle Designer book now available


Radio Button to make other field Mandatory

$
0
0

I have two Radio Buttons that I want when clicked on (either one) to make a Number Field mandatory. I have viewed many websites on setting a mandatory field but the script I am using will not work. I have tried a couple ways of writing it but I seem to be missing something.

I have used this script in the Show of: click & change

 

Here is the script that I'm using right now.

 

if  (this.rawValue==1)   

{

AssemblyNu-1.mandatory ="error";

}

else

{

AssemblyNu-1.mandatory ="disabled";

 

 

And this one:

 

 

 

 

if (this.rawValue==2)

 

{

AssemblyNu-1.mandatory ="error";

 

 

}

else

{

 

 

AssemblyNu-1.mandatory ="disabled";

 

 

 

 

 

}

 

 

 

 

Thanks,

HHud5757

Append Another Form to My Current Form

$
0
0

Greetings!

 

Say I have Form XYZ.  I am wondering if it is possible to attach a separate form (say, one stored on my company's website) to the end of Form XYZ if a user makes a certain selection within Form XYZ.  I am trying to limit the amount of places our users have to go when they have to fill out extra forms based on their selections within Form XYZ. 

 

Any help would be greatly appreciated.

 

Thanks!

Dynamic flow around static content?

$
0
0

I am having difficulty with the way a form wraps content. I have a redesigned form that the customer is satisfied with. However, the customer does not want the approval signature section at the bottom of page 1 to wrap onto subsequent pages when the content above that wraps. The approval section needs to stay static, while the rest of the page wraps to the next.

 

My first thought is to have that section on the first master page... except that you can't have signature fields on a master page.

 

So my next thought was to create another content area on the first master page, put that section's subform into that content area, and then it would automatically wrap around it, right? Apparently not. And nothing that I set seems to make a difference.

 

It does wrap around the extra content area, but it still pushes the section down. So I have a big blank spot at the end of Page1, then it wraps onto Page3Master like it is supposed to, then I get another Page1Master that is blank at the top, with my tiny approval section at the bottom.

 

I have attached a picture to this, that visually shows how I have the form setup, how I WANT it to work, and how it is behaving instead. I have also attached the form itself. Hopefully less frazzled minds than mine can make some sense of this one.

21-68_Problem2.jpg

Page Navigation

$
0
0
I am trying to insert page navigation buttons that will go to specific pages in my form. I thought this would as easy as inserting hyperlinks, but this doesn't seem to be an option in ALC.

I have an eight page form and want them to be able to jump to various pages. Can someone please advise me how to do this?

time format

$
0
0

Hi All.

 

I would like in form give user ability input and display time value. I selected Date/Time field and specified in pattern Display time{h:MM A} but got problem warning: "Incompatible pattern". How fix it?

 

Thanks

Change text of button from an OnClick

$
0
0

Good afternoon,

 

I have three buttons in a row setup and when you click the furthest right the text of all three should change, and if you click the furthest left all three should change. I am unsure of how to change the text of a button programmatically. Any help would be very appreciated. Thank you,

 

 

james

Repeat header on subsequent pages for Nested Table

$
0
0

Hi,

 

I have a nested table in my form. I want to display the header on subsequent pages when data overflows to new pages.

I gave overflow leader as my Header row but when I executed the form I see the header on second page is shrinked and displaying fully.

 

Please find attached image with the layout design and Data Hierarchy.

 

 

 

 

NestTable.png

NestHierarchy.png

NestProp.png

 

NestForm.png

 

 

Thanks,

Suman


Why can't I 'place' a signature into a .pdf form created in LiveCycle Designer 9???

$
0
0

Hi there,

 

I have been pulling my hair out all afternoon!

I have created a dynamic form in LiveCycle Designer 9 - saved it as a Dynamic XML Form - opened it in Acrobat X - saved it as Reader Extended PDF and Enabled Additional Features. My colleagues will then need to open it in Reader X and select the option to draw and place thier signature in the text field I have provided them with. When I open the form in Reader X and click on the SIGN tab I get the following error message:

 

The security settings on this document prevent adding text and/or placing a signature on it from Adobe Reader. To fill and sign this document you need to print it out.

 

I have looked for help on this issue everywhere, yet to no avail.

I do not want to hear about using digital signatures or Echosign, We only want and need to have staff sign forms by drawing their signature.

 

Please help!

 

Thanks,

 

Will

Print Option in PDF

$
0
0

Hi All,

I have a requirement where in i need to take a print of only few of the fields present in pdf. Can we create a customized print option other than default [Ctrl+p].

 

 

Regards,

Ali

ADD ITEMS TO DROPDOWN BOX FROM A TEXT FIELD(USER ENTERS THE ITEM) AND BOUND VALUE ALSO

$
0
0

Untitled.jpg

I WANT TO ADD ITEMS  THE DROPDOWN BOX FROM THE TEXT FIELD(ITEM NAME) WHERE USER ENTER'S THE ITEM DESCRIPTION

AND BOUND VALUE ALSO SHOULD BE ADDED TO THE SAME ITEM.

 

SAME WAY REMOVE ITEMS FROM DROPDOWN BOX

 

 

PLEASE GIVE SAMPLE FORM OR JAVASCRIPT FOR THE ABOVE SCENARIO.....

 

 

INDEED HELPFUL FOR MY PROJECT PLEASE SEND ATTACHED PDF FORM

setAttribute through IF-Statement

$
0
0

Hello

 

I'm trying to make a form, that picks the recipient depending which value a textfield has (dropdown value -> textfield)

Sounds really simple, hm?

But I'm having huge problems. The programm doesn't seem to like me at all .

 

//END OF DROPDOWN<event activity="change">   <script contentType="application/x-javascript">   if (    xfa.event.newText == Service1 ||               xfa.event.newText == Service 2 ||              xfa.event.newText == Service 3 ||               xfa.event.newText == Service 4 ||    {  responsible.rawValue = Person1   }   else   {   responsible.rawValue = Person2   }   </script>   </event>

---

 

<field h="15.0001mm" name="Supervisior" w="97.3mm" x="0.0024mm" y="215.5mm">  <event activity="exit"><script contentType="application/x-javascript">
   if (responsible.rawValue == Person1)    {      document.getElementById('sendmail')[0].setAttribute(target, mailto:address1@provider.com);      }    else    {    document.getElementById('sendmail')[0].setAttribute (target, mailto:address2@studer.com);    }</script></event></field>    <field h="5.9993mm" name="mail2" presence="hidden" w="28.575mm" y="-0.0001mm"><event activity="click"><submit format="pdf" id="sendmail" textEncoding="UTF-8"/> // IN HERE I WANT THE TARGET ADDRESS</event></field>

 

 

Can someone help me with this problem?

Sorry about the code structure, but the syntax highlighting is a bit confusing in this forums.

I hope you can read it

 

Thanks in advance

Sincerly

 

Oddy

Declaring Array Global Variable

$
0
0

Good evening,

 

I'm looking to create a global array of screen names (around 15) and then be able to loop through them in various functions.

 

Any pointers would be appreciated. Thank you,

 

 

 

james

Include a backslash in text quotes

$
0
0

I need to be able to include backslashs in a script that adds text to a textfield.

 

Example:    this.rawValue = "\\Start\now.";

Unable to access multiple instance objects in HTML

$
0
0

Good afternoon,

 

I have a button setup to add a subform instance when clicked. I have another button inside that subform that displays a hidden text with a button toggle.

 

The code I'm using to add an instance is: this.resolveNode('Subform1._Subform2').addInstance(1);

 

The code that is working for the PDF view to display hidden text is:

if(txtPlanKey.presence == "visible"){

          txtPlanKey.presence = "hidden";

}else{

          txtPlanKey.presence = "visible";

}

 

The issue seems to be when I add a new instance the logic does not carry over to the newly created subform.

Is this even possible for the HTML view? If so I could really use some help. Thank you!

 

 

james


I have downloaded LiveCycle Designer but can not install trial for 60 days. (Windows 8). "Error ...

$
0
0

I have downloaded LiveCycle Designer but can not install trial for 60 days. (Windows 8). Message: "Error 1311.Source file not found: C:Users\Pat\AppData\Local\Temp\7zOC065.tmp\English.cab. Verify that the file exists and that you can access it". Can I get help from you? Thanks //Patrik

Time Field Validation within Expanding Table...?

$
0
0

I am using a livecycle expanding table as a chronological log.  The time field on each row added at run time is only ever equal to or greater (later) than the time value entered in the previous row.  Does anybody have a simple formcalc & or Java script which could fire - if the user inputs an earlier time than a previous row...? 

Any help is much appreciated.

live cycle es 4 installation issue

$
0
0

i have some live cycle installation related issue please see this

Untitled.png

iwants to re install te programme but as well as i remove it it shows this error & for this i also have install java64 to overcome this but it still remains

Populating Text Field from Multi Checkboxes

$
0
0

Need help with formula.  Not sure whether or not I should be using FormCalc or Javascript as I am not extremely familiar with either.  I have a form that has three checkboxes (Box1, Box2, & Box3) that need to auto populate a text field (EmpAck).  I have tried three different ways to get this done and none are working for me.  What I need to happen is if "Box1" is checked "Text1" is inserted in "EmpAck" field and if "Box2" is checked "Text2" is instered & so on.  The texts are never the same and never added together.  I have set "EmpAck" to be read only, allowing multiple lines, and have the "Expand to fit box marked as the texts' are different lengths.  Any help would be great.

 

 

1. // This would go in the Textfield under calulate using FormCalc

if (Box1 = "On") then

EmpAck = "Text1"

elseif (Box2 = "On") then
EmpAck = "Text2"

elseif (Box3 = "On") then

EmpAck = "Text3"

endif

 

2. //This would go in the checkbox "Box1" changing "Text1" to "Text2" or "Text3" as required under mouseup using JavaScript (found under http://forums.adobe.com/message/2489082#2489082)

if (this.rawValue == 1)

{EmpAck.rawValue = "Text1";}

else {EmpAck.raqValue = " ";}

 

3.//This would go in textfield under calcuate using JavaScript (found under http://forums.adobe.com/message/4108395#4108395)

var a =" "

if (this.getField(Box1).value == "Yes")

{a="Text1"}

if (this.getField(Box2).value == "Yes")

{a="Text2"}

if (this.getField(Box3).value == "Yes")

{a="Text3"}

event.value=a

How can I subtract in formcalc sum(amount[0],amount[1],amount[2])

$
0
0

How can I subtract amount[3] from this sum?  sum(amount[0],amount[1],amount[2])

Viewing all 5571 articles
Browse latest View live


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