Maybe there's a logic solution to your problem. Is there something else that the user HAS to do before saving the form? i.e., entering/exiting a field? Maybe you could force that javacript to occur when the user exits certain fields?e.g., you have a form with 3 subforms in it. Each subform has 5 or ...
Here's what ended up working in case anyone else ever needs this.var n = ""; if (!this.isNull && !tfLastName.isNull){ n = this.rawValue + " " + tfLastName.rawValue;} else{ n = "Customer Signature";} xfa.resolveNode("tfSignature.caption.value.#text").value = n;
@vipinThat is almost a perfect example of what is happening. You're changing the text field's value instead of the caption, but the same problem is occuring. Whichever field you fill out second will be the only field that can update the signature.Here's a more accurate example of what I'm trying to ...
This one is kinda complicated (to me anyway). So, bear with me on this while I try to properly explain it.Problem: I have two fields tfLastName and tfFirstName--in that order. I have another field tfSignatureLine. I need the caption on tfSignatureLine to change based on the value of the first and la...
Not really. There are things you can do to make the process easier, but you can't just highlight the white space and hit 'delete' to bump everything up.You can select all of the items below what you removed on the heirarchy tree (that are on the same page) and move them all up at once.You could make...
Or I just thought of this...Could you get rid of calling the table and row by name.(I'm looking at your first picture, and I'm gathering that this=button, this.parent=cell, this.parent.parent=row, and that's what you want to add an instance of.)
Would you be willing to change your add button's code to this?I also see no reason why the code you have wouldn't work (nothing looks wrong syntactically). This is just another way to do the same thing. Maybe this will help you troubleshoot the issue.Message was edited by: jasotastic81
changed the q...
I'm in the same boat as you, inasmuchas I taught myself LC. I've tried to replicate your issue. I'm trying to understand where the issue actually lies.First, I created a new document to test. I dragged the text field onto the document and stretched it to accomodate what I was going to type and enter...
I would recommend setting that on the master page.Click on the Hierarchy Palette then Untitled Content Area (that's the default name).With the content area highlighted, you can resize the content area to give room for a footer.Then, anything you put in the the footer will change for every page.
@past-tenseIt didn't fix it exactly, but it did put me on the right track. I think I may have changed some of the containers after posting my question while working on other parts of the form.Here was my solution:var s = "this.parent.parent.Row1["+rowNum+"].TextField1";xfa.host.setFocus(s);I had not...