Skip to content

Commit 06bd29e

Browse files
Update README.md
1 parent 60ef1cc commit 06bd29e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

  • Client-Side Components/Track How Long a User Spends on a Form

Client-Side Components/Track How Long a User Spends on a Form/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ Track how long users spend on a form before submitting it. Useful for UX analysi
1111

1212
1. Add one Display BR and a Client Scripts:
1313
- `displayBR`: Starts timer
14-
- `onSubmit`: Calculates and stores time
14+
- onLoad client script: set the start time
15+
- `onSubmit client script: Calculates and stores time
16+
2. create a field u_spent_time to store the start time
1517

1618
## 🤝 Contributing
1719

0 commit comments

Comments
 (0)