couldn't make an automatically end-time in survey
Posted: April 29th, 2018, 10:46 pm
Dear all,
I have a problem when I make an automatically end-time for more than once visitation in a survey.
When the application ended on a partial save, the end-time will be filled in automatically.
And I wrote the script in each item as I don't know in which item the user will use partial save function.
Here is my script for automatically end-time in a partial save mode:
It worked only on END_TIME_1 and END_MINUTE_1 items.
The rest is blank.
Kindly please help me.
Thank you in advance.
Regards,
lusia
I have a problem when I make an automatically end-time for more than once visitation in a survey.
When the application ended on a partial save, the end-time will be filled in automatically.
And I wrote the script in each item as I don't know in which item the user will use partial save function.
Here is my script for automatically end-time in a partial save mode:
Code: Select all
if ispartial() = 1 then
if END_TIME_1 = notappl then
END_TIME_1 = systime("HH");
END_MINUTE_1 = systime("MM");
elseif END_TIME_1 <> notappl and END_TIME_2 = notappl then
END_TIME_2 = systime("HH");
END_MINUTE_2 = systime("MM");
elseif END_TIME_1 <> notappl and END_TIME_2 <> notappl and END_TIME_3 = notappl then
END_TIME_3 = systime("HH");
END_MINUTE_3 = systime("MM");
endif;
endif;
The rest is blank.
Kindly please help me.
Thank you in advance.
Regards,
lusia