Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Varma_LC
Community profile Varma_LC Level 6
Job title here
Location here
20 BADGES
Level 6

Level 6

Learn more
Joined the community 14-04-2009 10:28:35 AM
Offline
Top badges earned by Varma_LC
Customize the badges you want to showcase on your profile
Dynamic Masterpage
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
We have need to produce document that is dynamic in nature with different Page margins for example Last page needs 2.5 inch bottom margin. Is there a way to swap the master page based on such conditions like Last Page? Or restrict contentarea height based on last page or certain page number? Thanks in advance for any idea…Thank you,

Views

865

Likes

0

Replies

1
Re: Scripting Help
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
//check the following JavaScript in change event of DD1.....// form1.#subform[0].DD1::change - (JavaScript, client)if (xfa.event.newText == "Sample 1") { DD2.rawValue = "1";}if (xfa.event.newText == "Sample 2") { DD2.rawValue = "2";}if (xfa.event.newText == "Sample 3") { DD2.rawValue = "3";}

Views

242

Likes

0

Replies

0
Re: Draft watermark - hide or show object in masterpage?
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
I guess what you are trying is make objects on Master page visible/invisible based on user actions....I guess those are not supported. Once the form is rendered no updates to Master page appearance can be done. However if you are ok apply your changes before the form is rendered....you can use "pageSet" for referencing objects in Master page with in script segments.

Views

260

Likes

0

Replies

0
Re: Combining several data fields into a single textbox
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
in the calculate event of the final text field use the following JavaScript code....however you may have to update based on your Hierarchy....var lname = "";var mname = "";var fname = "";if (!LastName.isNull && (!MiddleName.isNull || !FirstName.isNull)) { lname = LastName.rawValue + ", ";}else if(!LastName.isNull) { lname = LastName.rawValue;}if (!MiddleName.isNull && !FirstName.isNull) { mname = MiddleName.rawValue + " ";}else if (!MiddleName.isNull){ mname = MiddleName.rawValue;}if (!FirstName...

Views

234

Likes

0

Replies

0
Re: Find out text Wrapped or not
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
Thank you for your suggestion...I resolved my issue with additional tricks using your suggestion as center piece of code.

Views

626

Likes

0

Replies

0
Re: Loop through a table
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
It actually depends on scenario....you need to post more details about your request and if possible share the form.....most codes segments are base on hierarchy and actions you would like to perform.

Views

1.2K

Likes

0

Replies

0
Re: Could someone look at this form and tell me why I can't type into the Numeric Field?
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
is it the field with caption "Based on your ability.....live"? It works for me...in fact any numaric field only takes numbers not alpha...did you try that?you have another numaric field as floating field in text...FYI. any floating field is not up for accepting input and by defauld it is invisible.

Views

386

Likes

0

Replies

0
Find out text Wrapped or not
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
One of our templates require different formatting requirements based on text wrapping....the textField being populated from XML using Schema we need to determine this status at the time of rendering the form. Is there a way to find out if the text in a given TextField is wrapped or not?Thanks in Advance,

Views

1.0K

Likes

0

Replies

2
Re: Duplicate page button
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
you need to use Dynamic features and look for instance manager in the help/documentation.

Views

213

Likes

0

Replies

0
Re: Default year in Date field
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
here is a generic script that might help you.... I used this JavaScript in 'docReady' event of the Year dropdown...if (this.rawValue == null || this.rawValue == "") { var d = new Date(); var setValue = d.getFullYear() -25; this.rawValue = setValue;}

Views

240

Likes

0

Replies

0
Re: Can I use SOAP calls to remotely access functions on a SOAP server?
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
I used same scenario in most of my forms....passing XML as input to WSDLs and getting response using SOAP....here is one example that might come handy.....function saveToDocumentum(wfname) { SOAP.wireDump=false; var cWSURL = "http://servername..com:"+"/services/"+wfname+"?wsdl";//use this wisely based on WSDLURL try { var service = SOAP.connect(cWSURL); }catch(e) { app.alert("" + e); return null; } if(typeof service != "object") { app.alert("Couldn't connect to WS at "+cWSURL); return null; } if...

Views

498

Likes

0

Replies

0
Re: Reg: MessageBox in French locale
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
You can find more info about this solution at http://www.windjack.com/product/acrodialogs/also check http://www.windjack.com/resources/Examples/DialogUses.pdf here is an example that might help you achieve what you are looking for... var CustomAlert ={ result:"cancel", DoDialog: function(){return app.execDialog(this);}, initialize: function(dialog) { var dlgInit = { "img2": { "width": 25, "height": 25, offset: 0, "read": function(bytes){return asdf.slice(this.offset,this.offset+=bytes);} }, "sta...

Views

256

Likes

0

Replies

0
Re: Find State of the Annotes panes
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
You got some helpful hints...however we failed to achieve what we want. In out case in Acrobat 9.1.0 the Comments/Annotes pane opens after all the events on the form open process completes. This is an Import as Artwork form originally designed in Acrobat PDFWriter 4.0 for windows...which carried the comments when imported but failed to reproduce what it was doing before the import. In fact we tried popup message in docReady event of highest Hierarchy event just for understanding the sequence of ...

Views

490

Likes

0

Replies

0
Find State of the Annotes panes
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
Hi There, We have need to determine state of Annotes and Attachment panes open/close with every document open and do some actions based on that state. Here is the script that toggles app.execMenuItem("ShowHideAnnotManager") notes/Comments panel. But we need to determine the state of the pane before we run this script. Any help is appreciatedThank you,Varma

Views

2.1K

Likes

0

Replies

3
Re: Subform Repeat and Text not Saving Issues
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
Best practice is to name the subforms some thing different from default names.....I noticed you have every thing right except this.I just renamed bunch of subforms and updated code accordingly....that made the trick I renamed following subforms....Subform[5]>>>>Subform_5Subform[5].Subform1>>>>>Subform1_1Subform[5].Subform1.Subform2>>>>>Subform2_2Subform[5].Subform1.Subform2.Subform>>>>>Subform_1 You could use some meaningful names....try this and see if that does not work shoot me an email at n_...

Views

263

Likes

0

Replies

0
Re: Text and Numeric Fields - Keeping the previous value.
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
Yes...newText is still in the memory not set as rawValue until all the events are fired and curser exits the field.The purpose of my code is to prove you this theory. If you like to review/use current entry you should always use xfa.event.newText so if you wish you can add following code in your change event validation witch will force the field to accept the newText as rawValue.... this.rawValue = xfa.event.newText; //position this appropriately in your code...this should happen when the valida...

Views

246

Likes

0

Replies

0
Re: Text and Numeric Fields - Keeping the previous value.
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
Right that is how it behaves....First let us check the sequence the events fire with data entry and exit events.First event that gets fired is Validation....then Exit.... and then the value get set to the field. So with first instance of error till all the events are fired the value in the Zip would be 'null', so nothing will be noticed while those messages are displayed.But at the end of the event sequence Zip value is set to '12345-689' and that is what carried till the next value is set to th...

Views

247

Likes

0

Replies

0
Re: Getting the form to flow correctly ;>(
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
Sorry for the misunderstanding...I guess you need to have following settings.... Header>>>>Non repeating: automatically prints one time on the first pageSubform1>>>>Non repeating: automatically prints one time on the first pageCopy of Subform1>>>repeating: min=0, initial = 0, max: unchecked, always print on Top of next pageFooter that has the Button>>>Non repeating: always prints at the end of the form Hope this helps...if I did not get your question right shoot me an email with copy of your for...

Views

219

Likes

0

Replies

0
Re: Getting the form to flow correctly ;>(
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
Those are simple instructions....I would copy from the existing subform and rename it to some thing and update the code accordingly. Also I am guessing with your current form settings the copy will just follow the existing subform then when you update Pagination settings to "Top of Next Page" the subform automatically positions it self to new page. I would first explore little bit before I come up with such questions.

Views

215

Likes

0

Replies

0
Re: Changing the color of Buttons back and forth
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
try the following....if (this.resolveNode("caption.value.#text").value != "Available") { this.resolveNode("caption.value.#text").value= "Available"; this.fillColor= "55,55,55";}else { this.resolveNode("caption.value.#text").value= "NotAvailable"; this.fillColor= "255,255,255";}

Views

315

Likes

0

Replies

0
Re: Only one value is shown in drop down
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
also your binging should look like ....$.officeUseOnly.currentPosition[*].Position[*]

Views

292

Likes

0

Replies

0
Re: Only one value is shown in drop down
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
current element set up is defaulting to one occurance....try using following...

Views

273

Likes

0

Replies

0
Re: Date addition
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
I would use FormCalc for date operations rather than JS....here is simple and similar example...var dSelectedvar wSelectedvar dResultdSelected= Date2Num(DateSelect.rawValue, "YYYY-MM-DD")wSelected= WeekSelect.rawValuedResult= dSelected + (7 * wSelected)DateResult.rawValue= Num2Date(dResult, "YYYY-MM-DD")and for the Dropdown I chose Specify Item Values in Object>>>Binding tab and I chose 1 for 1 week, 2 for 2 weeks.....try this and let us know....Good Luck,

Views

264

Likes

0

Replies

0
Re: Getting the form to flow correctly ;>(
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
I may have not understood your issue right...however I would try this....I would have two copies of the repating subform however first insatance would be set to not to repeate but always prints....the second instance would repeate however set the Min to 0 and associtate the button to instanciate the second instance each time it is clicked. Then set the repeating subform to launch on the Next page with each apperiance in the pagination as you already set.Hope that helps if not email me copy of yo...

Views

215

Likes

0

Replies

0
Re: Drop down value displays in another text field
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
I would use generic code like follwing.....in change event of DD...if (xfa.event.change != "Please Select") { //when any thing other than 'Please Select' page4.pcEquip.dirAbove.TextField12.rawValue = xfa.event.change; //assign current selected value to text field.}else { //when 'Please Select' page4.pcEquip.dirAbove.TextField12.rawValue= ""; //clear the TextField value}Good luck

Views

236

Likes

0

Replies

0
Re: Click two checkboxes to get one value in another field
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
try the following...if ((this.rawValue ==1) && (CheckBox4.rawValue == 1)) = 4 { NumericField1.rawValue}

Views

246

Likes

0

Replies

0
Re: How can i create a bodyRow under the other bodyRow?
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
I am not allowed to download stuff from those sites...our workplace is little more secured (at least the management thinks...) However if you have such situation like below.... ****************************************** %%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%****************************************** %%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%% you could simply try new table inside a row....of course you can have table with out header row.Good luck,

Views

270

Likes

0

Replies

0
Re: Multiple Dropdowns Email Multiple Recipients
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
I guess issue is with your concatination....I see an issue with following line of code...vEmail= Page1.SendFormTo.rawValue, Page1.RSM.rawValue, Page1.CST.rawValue;I would use following....to concatinate all the email address....vEmail= Page1.SendFormTo.rawValue + ", " + Page1.RSM.rawValue + ", " + Page1.CST.rawValue;

Views

287

Likes

0

Replies

0
Re: leading zeroes in a Numeric Field, Don't want.
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
If you use TextField instead of Numaric you have option for ZIP to select in patterns....Of couse if you want to stick to your Numaric field I would say use num{99999zzzz}...key: You would use 9 when you would expect to see 0-9 no matter what you passed...you would use "z" where you expect nothing prints when there is no data available.Hope that helps...

Views

284

Likes

0

Replies

0
Re: Save form generated by addInstance()
Avatar
Give Back 200
Level 6
Varma_LC
Level 6

Likes

22 likes

Total Posts

215 posts

Correct reply

24 solutions
Top badges earned
Give Back 200
Give Back 100
Give Back 50
Give Back 25
Ignite 3
View profile
Varma_LC
- Adobe LiveCycle
I guess the issue is with your Bindings....if designed your form based on a schema and referenced the repeating fields to repeating sections in the schema under Bindings tab you do not have to do any thing else to make repeating subforms visible at reopen. If you have Bindings set to Normal or None you will never be able to save any data so they will not open with repeating subforms.

Views

223

Likes

0

Replies

0
Likes given to
Likes from