since ‎27-04-2018
‎10-12-2019
DiveMasterTx
Level 2
Function Help to change many .presence
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
I have a dynamic form which has multiple comments scattered among multiple pages, sometimes the form is used electronic and sometimes it is printed. I have a dropdown field to indicate the selected current use. The difference is the comment field changes from a single text field per section for digital use to a table with multiple rows for printing for hard copy use. I am calling the function on my form ready and from the exit event of the dropdown field. However the below function isn't actuall...

Views

490

Likes

0

Replies

0
Re: Validation / Reset Functions, easy to manipulate and to change Forms!!!!
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
Just found this thread. I had a question on resetting dynamic forms with repeating instance subforms and radzmar gave me a great generic function for resetting them if you want to add another aspect to this thread Reset Dynamic Form with multiple tables

Views

1.8K

Likes

0

Replies

0
Lock Document After Signing
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
I have two dynamic forms that I am currently working on. They both support multiple digital signatures and I actually copied the sub-form from one form to the other. The digital behavior is different in between the forms and it is providing me some frustration trying to make them behave the same. I really don't want to try the next thing that came to mind and delete all the content from the form with the checkbox and copy the entire form from the other file to see if that makes them work the sam...

Views

1.7K

Likes

0

Replies

2
Re: What Form event occurs after a button click for importdata()
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
There are a lot of places for event when attempting to determine which events occur in which sequence! Based on radzmar's key information it took me days of placing events and testing to figure out the correct form event to use. The answer is after the field event code runs with the ImportData(), place code on the top level of the form in the ::ready:form event to take any actions necessary following the import and before the user gets to interact with the form. I marked this an answered and gav...

Views

1.0K

Likes

0

Replies

0
Re: store dropdown value to var on form load
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
To make this work I inserted a script object and named it "Signers" then inserted the below function.LP.#variables[0].Signers - (JavaScript, client)Then on the actual dropdown field I added a change event where I called the function using the below syntax; LP.Pg1.Pg1Ft.cboSigner::change - (JavaScript, client) var vCallEvent = "Field cboSigner::change "; Signers.fShowSign(vCallEvent)Then on the FORM I added a ready event where I called the function using the below syntax; LP::ready:form - (JavaSc...

Views

1.1K

Likes

0

Replies

0
How to duplicate or mirror dynamic subforms or tables and its filled in cells
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
I have been building forms with multiple dynamic subforms and tables. I am fairly comfortable with the correct way to add, delete and move rows in the dynamic subform or table. I have been asked to make a multipage form that has identical repeated information on a few pages. Instead of the user having to reenter the information on each page I would like to use the first table that contains the user entered rows and data to build the second and third copy. Ideally these would simply mirror as the...

Views

566

Likes

0

Replies

0
Re: How would you use a javascript function to format all buttons
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
Now I get to play and see if I can make a single function for Instance manager buttons What let me solve this was Is there a way to know which subform button was clicked? Answered by radzmar​function fMouseIn(){// xfa.host.messageBox("The button '" + xfa.context.name + "' (" + xfa.context.somExpression + ") event triggerred."); // set caption to red and underlinedvar MyButton = xfa.context; MyButton.caption.font.underline = "1"; MyButton.caption.font.fill.color.value = "255,0,0"; }function fMous...

Views

756

Likes

0

Replies

0
How would you use a javascript function to format all buttons
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
How would you go about using a function to change button format in one place? I think the function needs to identify which button called it instead of using "this"?Currently I put code in each buttons events see below for a sample.LP.Pg3.PgBody.rowSFrmLP.sfrmBtn.Remove::mouseEnter - (JavaScript, client)// set caption to red and underlined this.caption.font.underline = "1"; this.caption.font.fill.color.value = "255,0,0"; LP.Pg3.PgBody.rowSFrmLP.sfrmBtn.Remove::mouseExit - (JavaScript, client)// s...

Views

821

Likes

0

Replies

1
store dropdown value to var on form load
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
I have several forms I'm trying to build and use dropdown fields in. The forms work great up to a point, they store the user selected values when entered and saved, when reopened the form dropdown shows the saved value. I am trying to use code to fire after the form opens and use the saved and visible dropdown value which loaded into the field via a function or with code.I'm trying to read the saved value after it reopens and have tried unsuccessfully to use a lot of event. I find it hard to bel...

Views

1.9K

Likes

0

Replies

2
Re: What Form event occurs after a button click for importdata()
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
I am unable to access the second link behind the company firewall. I understand code following importdata() and remerge() functions execution in that code section doesn't execute. What I am trying to find out is if after a on click button event and the form has remerged is there a form level event which could be used to take actions based on updated and remerged field values without having to add a manual mouse click button to call the code from.

Views

867

Likes

0

Replies

0
Re: Resetting form to original state/hiding subforms on reset
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
If you try this and end up with dynamic table rows still left there is a closely related post showing how to reset the tables to their unpopulated state at Reset Dynamic Form with multiple tables

Views

542

Likes

0

Replies

0
Re: Reset Dynamic Form with multiple tables
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
I tried your suggestion and was unable to make it work. I may not be addressing the dynamic node addresses quite the way I need to. Would it be possible to write a generic loop to loop through the node tree and reset all setInstances(1) without having to specify them individually? This would also make the function usefule in a multitude of forms...Thank you for your time.

Views

1.1K

Likes

0

Replies

0
What Form event occurs after a button click for importdata()
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
I have a dynamic form initially designed in LiveCycle then updated in AEM manager. It has a section of dynamically added rows, and a user selected Dropdown for how many signature lines to include at the bottom of the table. The signatures are hidden subforms and it works when the user changes the number on the dropdown.However when I import data no code following the importdata seems to execute. is there an easy way to read a value populated from the import and run a script to change the subform...

Views

1.7K

Likes

0

Replies

4
Reset Dynamic Form with multiple tables
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
I have a form to build flowable dynamic lesson plans for training. Each lesson plan form consists of multiple pages, some of the pages contain multiple subforms, several having dynamic table rows. I am attempting to place a single reset form button on the page to clear all field values and reset all table row instances to 1 by clicking a button on the form master page. My Current XFA/javascript attempt is below;LP.#pageSet[0].Pt1.sFrmPfHd.resetForm::click - (JavaScript, client) xfa.host.resetDat...

Views

1.7K

Like

1

Replies

3
Re: How do I display file properties on form
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
The solution I ended up using consisted of placing text fields on the master page. Each field I then used an initialize event for to set its value to a form property value. This allows simply changing the form metadata values to change the information on the form making long term maintenance and template reusability easier. AFFM2519.#pageSet[0].PgInfo.sfrmFooter1.txtFooter::initialize - (JavaScript, client) this.rawValue = xfa.form.AFFM2519.desc.version.value AFFM2519.#pageSet[0].PgInfo.sfrmHead...

Views

1.2K

Like

1

Replies

0
How do I display file properties on form
Avatar

DiveMasterTx

DiveMasterTx
- Adobe LiveCycle
In LiveCycle I have created a dynamic form. I am attempting to display the file properties version or the custom properties to populate a footer field so i can make edits on the properties page and automatically update the form to reduce long term maintenance issues. I added the fields as Text and as Text Field with Value properties as a read only calculate value type.I set up a form JavaScript initialize section try {event.target.info.Title = this.desc.title.value;event.target.info.Author = thi...

Views

1.5K

Likes

0

Replies

2