Hi there, been stuck in this for quite long, your help is very much appreciated.
My purpose is to record the number of times a certain button is clicked, but I’m not able to do so and I’m not sure what the issue is.
Context:
I’ve created a repeating group, and placed 2 buttons in it namely “dabu” and “jamru” for left and right scrolling between cells (there is only one cell visible, users need to press the required button to navigate to the previous or next cell). Now, when button “dabu” is clicked by the user, that user should be recorded in the database, in the field that I’ve created named “LeftSwipes” and when button “jamru” is clicked, the user should be recorded in the field “RightSwipes”.
To ensure this. I’ve done following things:
- Created fields name “LeftSwipes” and “RightSwipes” in the custom datatype “Videos”.
- Added two buttons namely “dabu” and “jamru” for left and right scrolling respectively.
- Created the workflow as follows:
Image of workflow when dabu button (to go left or previous) is clicked.
Image of workflow when jamru button (to go right or next) is clicked.
I thought this much was sufficient to add users who pressed the button “dabu” or “jamru” to get recorded in the database fields “LeftSwipes” and “RightSwipes” respectively. But they’re not being added. I don’t know, maybe I’m missing some simple thing or committing some silly mistake. I’ve spent way longer than I should’ve on this issue, so your guidance and help is very much appreciated.