My guess is that you are not using the correct expression to indicate which field you want. As a tip you can place the cursor in the
Script editor wher you want the field expression to go then hold down the ctrl key then move the mouse to the field you want to reference on the drawing pale tte then click the mouse. The correct expression will appear in the script editor. Note that it is relative to the location of where the script is executing. Now you can pick the property or method you want to use (most likely rawValue).
Thanx . But i did exactly the same u told much before . I copied the entire hierarchy which is displayed in the script editor much before .
Still then it shows no O/P .
if(TopmostSubform.Page2.Table.resolveNode.("#Cell.L1_ResTotalNumMeters").rawValue < TopmostSubform.Page2.Table.resolveNode.("#Cell.L1_ResNumAdvMeters").rawValue)
Here TopmostSubform is the parent form.
The table lies in Page 2.(Which is not a table created by subforms and text field rather)
I have to compare the values of Cell  and Cell  , the fields are L1_ResNumAdvMeters and L1_ResTotalNumMeters respectively.
Both the Cell and Cell  are subforms (or warpped in subform.)
I have tried for last 20 days . Still i am scratching my head .
This is always easier if I can see what is happening ....can you post your form and instructions on how to reproduce the problem to LiveCycle8
I have no problem in posting the form here . But the client i am working
with has some copy right issues . So i am not allowed to display the form
in a public forum . Any other alternatives ??
That email address is not a public forum ....it is my email address so only I will see it.