RIAForge Forums Home | Search | RSS
New Topic Reply   Previous Page  Page: 1   Previous Page

Thread: Misreporting of time taken to complete form
Created on: 05/07/14 05:05 AM Replies: 0
jtchivers


Joined: 11/09/07
Posts: 1
Misreporting of time taken to complete form
05/07/14 5:05 AM

Email reports time taken to complete form incorrectly. Rather than reporting seconds taken, it is reporting the comma separated field value (e.g. 39880713,19852164).

I was able to fix this by changing the following line of code (line 566 of cffpVerify.cfc) from

It took them #arguments.FormStruct.formfield1234567893# seconds to submit the form, and your allowed

to

It took them #arguments.TestResults.timedFormSubmission.FormTimeElapsed# seconds to submit the form, and your allowed

Thanks for work on CFFormProtected. Been using it just 24 hours and I can already see that it's doing a great job! :-)
Link | Top | Bottom

New Post
Please login to post a response.