Time Spent in Form


i track following: timestamp when user first opens form, , total time spent filling out form. possible collect information?

you store time when user opens form , store again when user saves form , show difference.

 

here's how can it:

1) create hidden field called starttime , put javascript in docready event of field:

this.rawvalue=(new date()).gettime(); 

2) create hidden field called endtime , put following javascript in presave event of field:

this.rawvalue=(new date()).gettime(); var dif = this.rawvalue-starttime.rawvalue; var d = new date(dif); totaltime.rawvalue="hours: "+d.getutchours()+" minutes:"+d.getminutes()+" seconds:"+d.getseconds(); 

3) create third field called totaltime.

 

kyle



More discussions in LiveCycle Designer


adobe

Comments

Popular posts from this blog

Some mp4 files not displaying correctly (CS6)

Thread: Samba is not authenticating with LDAP