ResolveNode in a Javascript.
I have following code in FormCalc written.
this is a multi instance form which checks that an starttime is smaller then the end time.
when this is not the case the time entered is blanked out.
var t3 = Time2Num(data.p1.Task.end_time[*].formattedValue, "HH:MM:SS" )
var t4 = Time2Num(data.p1.Task.start_time[*].formattedValue, "HH:MM:SS" )
//data.p1.#subform.Table3.Row1.start_time[*]
if ( ( t3 < t4 &( t3 <> 0)) or t4 == 0)then
$ = null
endif
I'm trying to translate this code to Javascript with a "resolveNode" but I don't succeed.
Can somebody help
where
var auditCount = xfa.form.form1.formPage.mainSub.instanceManager.count-1;
hope this helps