Dear all,
I have a difficulty regarding systime() function using CSPRO 7.0.1
I want to make the "hours" item can't be changed even though, let's say, I moved back to the item before the "hours" item.
Even if I protect the item using the capture type in the item properties, it didn't worked.
Here is my script:
The noinput statement will allow an interviewer to move back into the field. If you never want to allow entry to the field, you should set it to protected.
You can then set it in logic:
PROC TIME_1
preproc
// fill in automatically only if it is blank ifvisualvalue(TIME_1) = notapplthen
TIME_1 = systime("HH"); endif;