since ‎30-06-2015
‎10-12-2019
mattpn2719
Level 1
Re: Check if any instances of a field in a table are empty? mattpn2719 - Adobe LiveCycle
Thanks for your help. Using the debugger it helped me isolate the issue as the table being wrapped in a sub form. Soon as I removed it and adjusted the code everything worked perfect.Just wish I could keep that sub form as the form's hierarchy will be pretty confusing without it. If anyone knows a workaround let me know please.Thanks again.
387
Views
0
Likes
0
Answers
Re: Check if any instances of a field in a table are empty? mattpn2719 - Adobe LiveCycle
Thanks for the effort in helping me out. Now that I understand the code a little better I tried messing around with it but still no message box.Should anything be different since this is within the postSave event of the form?I thought maybe the '.TextField1' might have to be in the () brackets of resolveNode after the [] brackets but that didn't work either.. tried removing possibly unneeded spaces I thought might be mistakes.The code below is what I have now. Only posting half as it gets pretty...
204
Views
0
Likes
0
Answers
Re: Check if any instances of a field in a table are empty? mattpn2719 - Adobe LiveCycle
Thanks for the reply, this method seems more promising than what I have tried but unfortunately the message box doesn't show up using this pattern of code. I haven't worked with variables much before either but I understand some basics... The part confusing me is in the square brackets of each resolveNode part.Is there something above you might have coded wrong as I`m not used to some of coding you`re using?Thanks for your help.
215
Views
0
Likes
0
Answers
Check if any instances of a field in a table are empty? mattpn2719 - Adobe LiveCycle
I'm having an issue with checking if any the instances of a field within a table are empty. If any are empty I need a message box to appear. There's one header row and one body row with several text fields. The body row is set to repeat and there are buttons to add and remove body rows.I have had success in checking if any fields are empty in the initial row by using the following code:if ((this.resolveNode("Page1.Table1.Row3.TextField1").rawValue == null || this.resolveNode("Page1.Table1.Row3.T...
760
Views
0
Likes
6
Answers and Comments
Table footer appearing on initial page without rest of table? mattpn2719 - Adobe LiveCycle
I'm in the process of creating a dynamic form. It contains 7 tables. Table 1 is always visible. Table 2-6 appear according to selection made.Table 7 is problem I'm having, it has a header and a footer (allow page breaks is on for the table), the header is set to appear on the initial page of the table and subsequent pages.The footer should be appearing on every subsequent page and final page (that`s what pagination is set to).As Tables 2-6 are shown (all of them) , Table 7 has no more space for ...
288
Views
0
Likes
1
Answers and Comments
Re: Automatically select correct check box based on choices made in previous section? mattpn2719 - Adobe LiveCycle
Thanks jasotastic81, this is exactly what I was looking for.
205
Views
0
Likes
0
Answers
Automatically select correct check box based on choices made in previous section? mattpn2719 - Adobe LiveCycle
Using LiveCycle to create a form containing a table. This table has 3 columns with 15 check boxes in each column.Below these 15 rows are 3 more check boxes that have calculated values. In each row of the table only one of the check boxes can be checked at a time.Based on the majority of choices in a certain column, the corresponding calculated check box should be checked. (If the most choices are made in column 1, then the 1st calculated check box must be checked, etc...)The trouble I'm having i...
666
Views
0
Likes
2
Answers and Comments