Below the Code works fine but the counter shows 1 even there is no filled vacuum still

Here is the code to get the vacuum filleds (counter);

Form1. Page1.notification.NumericField1::ready:layout - (FormCalc, client)

var FilledRows = 0

for i = 0 upto Body.Table1.Row1.instanceManager.count - 1

If (Body.Table1.Row1 [i] .drp_names EQ null) then

FilledRows = FilledRows + 1;

this.rawValue = FilledRows;

endif

ENDFOR

the code in Javascript to check if the value of the counter is zero

Form1. Page1.save_as::click - (JavaScript, client)

If (notification. NumericField1.rawValue == 0) {}

xfa.host.messageBox ("this will save your form as a PDF form, means that you can change it later once more","save form", 3, 0);

app.execMenuItem ("SaveAs") ;}

on the other

{xfa.host.messageBox ("you have:" + notification.)} NumericField1.rawValue + "void highlighted fields", "Empty fields", 3, 0) ;}

FormCalc if you assign a value of fields at the end of your script, otherwise I can replaced by an arithmethical or a Boolean result of the script itself.

var FilledRows = 0
for i = 0 upto Body.Table1.Row1.instanceManager.count - 1 do
    if (Body.Table1.Row1[i].drp_names.inNull eq 1) then
          FilledRows = Sum(FilledRows, 1)
    endif
endfor
$ = FilledRows;

Tags: Adobe LiveCycle

Similar Questions

Maybe you are looking for

  • How to put my MacBook to sleep

    I've recently upgraded to a new MacBook, a MacBook Air and have noticed that he's not going to sleep by pressing the power button. Why has this changed? and is there a way to change this? I know that closing the lid and to choose the apple logo and t

  • can not put a new tab to open the default google search

    I found these instructions:In case you need more than one step by step: (1) in a new tab, type or paste about: config in the address bar and press ENTER. Click on the button promising to be careful. (2) in the search above the list box, type or paste

  • What is the bar below the address bar with nothing on it?

    I see the menu bar below the tab bar, lower than the location bar and a totally blank bar which I just can't hide and on which I can't put anything underneath.

  • P25-S5093 cannot read DVD + RW

    P25-S5093, ODD-DVD-SD-R6372 reader can't see DVD + RW, DVD - RW Drive reads and writes without problem in that there may be a business? OS - Windows XP Pro SP2.

  • Pavilion 6154ea: Radeon display error - display driver stopped responding and has recovered

    Received a UN expected error in the web search, actully screen off for a few seconds before receiving an error on the display driver stopped responding and recovery. Took a glance in the peripheral section where the 2nd adapter displays without any s