since ‎25-05-2015
‎10-12-2019
alcdtrainer1
Level 2
Re: Lock a specific Text Field
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Thanks Radzmar

Views

353

Likes

0

Replies

0
Re: Lock a specific Text Field
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Add the following script on the initialize event of the textfield that should get locked.if(this.rawValue != nul) this.access = "protected";Thanks

Views

350

Likes

0

Replies

0
Re: Is there a possibility, that subforms flow up again to avoid big wide gaps in a document?
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
I guess the subforms might have some value specified for either "Top Margin" or "Bottom Margin" or both. Please check. If the issue is not yet resolved, please mail the form to alcdtrainer@gmail.comThanks

Views

254

Likes

0

Replies

0
Re: How to center RadioButton and caption
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
What do u mean by centered here? The caption below the radio button is already centered.

Views

298

Likes

0

Replies

0
Re: Can Text Color Based on Value
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
To change the boder, add the following script on the exit event:if(TextField1.rawValue == "Desired Value") TextField1.border.edge.color.value = "255,0,0";..To fill the color, add the following script on the exit event:if(TextField1.rawValue == "Desired Value") TextField1.border.fill.color.value = "255,0,0";

Views

314

Likes

0

Replies

0
Re: Remove instance of row in section
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Just FYI, The form is working as expected when i downloaded your form and added the suggested script. Not sure why it is not working for you. Anyways, if your workaround is working Cheers ! Thanks

Views

646

Likes

0

Replies

0
Re: how to make header subform to repeat in each page
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi, Y use a subform instead of table?In table you have an option to repeat header starting from first page to all subsequent pages?Thanks

Views

303

Likes

0

Replies

0
Re: Remove instance of row in section
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Use the following script on the click event of - button:topmostSubform.Page1top.Column2.Table1.PackageSection._ItemRow.removeInstance(this.parent.parent.index);Hope this hleps.Thanks

Views

614

Likes

0

Replies

0
Re: not able to create subform on second page of design view
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
A page/subform set to Flow Content will make all the elements aligned one after the after either from top to bottom / left to right / right to left based on the Flow Direction selected (Western Text, Right to Left, Left to Right). Please understand the working behavior of Flow and Position Contents before you start designing a form.Mail me your form at alcdtrainer@gmail.com

Views

347

Likes

0

Replies

0
Re: Mimimum/Maximum Check and Specific Value check in textfield
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
convert int to string and use the length method.var a = this.rawValue; //value from numeric fieldvar newValueLength = a.toString().length; // converting int to String using toString() methodapp.alert(newValueLength); // printing the length of stringHope this helps.Thanks

Views

248

Likes

0

Replies

0
Re: Form fields have a red background that wont go away
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Pls check:> Whether the subform's Border->Background Fill is selected as "Solid" with color as Red. If yes, select the Background Fill option as None> Whether the fields's Border->Background Fill is selected as "Solid" with color as Red. If yes, select the Background Fill option as NoneIf the issue still pesists, pls mail me the form at alcdtrainer@gmail.comThanks

Views

275

Likes

0

Replies

0
Re: Hide only the caption when field content is empty for a Adobe Print Form field
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
change the script to:if(this.rawValue == null){ xfa.resolveNode("this.caption.value.#text").value = "";}

Views

538

Likes

0

Replies

0
Re: Mimimum/Maximum Check and Specific Value check in textfield
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hope the langauge selected is "FormCalc"Try using:if (this.resolveNode("JobCard").value < 12 || this.resolveNode("JobCard").value > 12){ xfa.host.messageBox("Invalid Value");}Thanks

Views

248

Likes

0

Replies

0
Re: not able to create subform on second page of design view
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Place the new object as per desired and make this object/field hidden by default. You can do this by selecting the Presence option of this field to "Hidden (Exclude from layout)". Now add the following event on the initialize event of the field to make it visible:fieldpath.presence = "visible";Hope this helps!

Views

338

Likes

0

Replies

0
Re: not able to create subform on second page of design view
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi Saurabh,Please mail me the form @ alcdtrainer@gmail.com Thanks. Cheers!

Views

344

Likes

0

Replies

0
Re: Can we insert an image field that can be resized by the user?
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi amyl,As far as my knowledge resizing is not possible.The best option is to use the Scaling option of the ImageField as "Use Orinigal Size" so that the field can adjust itself according to the image uploadedby the user.All other scaling options might shrink or expand the image making the image blurred.Hope this helps.Thanks

Views

238

Likes

0

Replies

0
Re: TextField value is not printing.
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi Thamizh12,As suggested by jsanborn58, pls check the log tab. Also, please check if the field is Textfield or NumericField. A numeric field will accept only numbers and not alphabets.If the issue is still perisists, please mail the form @ alcdtrainer@gmail.comThanks.

Views

287

Likes

0

Replies

0
Re: First instance in a subform to repeat on each page
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi Parre,1) The input data to PDF/XDP is an XML. Any XML is always represented in a parent child (tree) hierarchy. The XML that i had shared in the above post is just a sample one.2) The script can be added in the initialize event of a field.Suggest you to go through the basics of scripting, a PDF that is avaialble at following path:http://help.adobe.com/en_US/livecycle/8.2/LiveCycle_Designer_Scripting_Basics.pdfIf you are still facing an issue, pls mail me your template and XML at alcdtrainer@g...

Views

349

Likes

0

Replies

0
Re: First instance in a subform to repeat on each page
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi ParreLaws,Considering that your XML looks something like this: You can add the following scirpt at the ffield level (for firsName):this.rawValue = xfa.resolveNode("$record.main1.page1.repeat.firstName").value;Note: 1) $record always refer to the parent node (here it is main). So, it is not requied to mention the top most parent name main in the path. 2) Since the index is not mentioned, the above script will always take the first repeating intance valuesKeep the binding as Globa...

Views

338

Likes

0

Replies

0
Re: not able to create subform on second page of design view
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi Sourabh,Consdering the following two scenarios...1) To add a subform to the Page2 that has no relation with the content on Page1, then simply go to Hierarchy Palette, Select Page 2 - > Insert Subform. (I assume that you are not adding the Subform to Page1 instead)...2) If you want Page2 to appear when the content of Page1 is full, then: (in this case, Page1 is set to Flowed) a) Make sure your Page1 is full so that anything added further will automatically go the next page. b) If your Page1 co...

Views

349

Like

1

Replies

0
Re: First instance in a subform to repeat on each page
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi ParreLaws,I believe there is no need of scripting.Since you always wanted the first intance to repeat on every page, why don't you create a subform in the Master Page? This subform should have a table with one row which can be binded to the first instance of the repeating section in the XML.In this case, your hierarchy would be something like this: Please let me know if i am not clear.Thanks,

Views

344

Likes

0

Replies

0
Re: How to create expandable dynamic text field
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi Sambit,Please do the follwoing:1) Make sure that the subform/Page in which the textfield is palced is set to Flowed content. [Also, make sure that the parent of the subform in which the textfield is placed is also set to Flowed]For eg: - Flowed - Flowed - Flowed 2) Check the textfield property "Allow Mulitple Lines"3) Check the textfield property "Height - Expand to fit"4) Check the property "Allow Page Breaks within Content" of the subform in which the text field is palced5) Most imprtant ...

Views

285

Likes

0

Replies

0
Re: Is it possible to flow text on to the next page?
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi Jeff,Western text will push and place the elements one after the other from Left to Right. But, you will see no space between the objects. To avoid this you can create positioned subforms within the flow content and place the objects as required.Thanks,Kumar

Views

549

Likes

0

Replies

0
Re: Is it possible to flow text on to the next page?
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi,Positioning elements one below the other without any space between the objects is the default behavior of Flowed Content.To overcome this do the following :1) Set Page1 to Flowed Content2) For all the sub forms that are part of Page1, set the property as PositionedPage1 - Flowed..... Subform1 - Position..... Subform2 - Position..... Subform3 - PositionIts always safe to set a Page to Flowed and all Subforms to either Position/Flowed depending on requirement.Suggest you to understand the diffe...

Views

552

Likes

0

Replies

0
Re: Issues with Repeating Subforms
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
‌please post your code and also specify the event on which the code is added.Thanks

Views

301

Likes

0

Replies

0
Re: How to 'split' combs with a space in single field? (e.g. 2 digit area code in comb -space- phone number also in comb)
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
I couldn't think of better soulution than this. Thanks jasotastic81. I learnt something new today

Views

252

Likes

0

Replies

0
Re: Can you change bg color on a label in livecycle?
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi Tangnamofool2,Since there are no events associated with Text, you can add the following script to the initiailize event of a Subform/Page in which the Text is palced:form1.Page1.StaticText1.border.fill.color.value = "100,0,0"I did this in Designer 7.1 and should work in all the versions.Thanks,Kumar

Views

359

Like

1

Replies

0
Re: Is it possible to flow text on to the next page?
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi Tangnamofool2,It is possible with the following things taken care of:1) Make sure the parent Subform/Page in which you have expandable field is set to flowed content2) Make sure the option "Allow Page Break within Content" is checkedIf you still have any issue, you can mail the form to me @ alcdtrainer@gmail.comThanks,Kumar

Views

554

Likes

0

Replies

0
Re: Notify user when a second page is generated
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi gwynp51907864, could you please check if this works? On the form calculate event add the follwowing script: var pCount = xfa.layout.pageCount();if(pCount>1) app.alert("New Page Inserted/Generated"); Thanks,Kumar

Views

299

Likes

0

Replies

0
Re: Changing object from Hidden to Visible
Avatar

alcdtrainer1

alcdtrainer1
- Adobe LiveCycle
Hi melo,Since i coudn't see the "email" field on the form, i couldn't say whether there is any issue with the script that you have used.But, please try using the following script instead:xfa.resolveNode("form.main.........email").presence = "visible";Also, make sure that you are not hiding the subform that has email object in it.Thanks,Kumar

Views

266

Likes

0

Replies

0
Likes from