I am building a gym workout guide.
I have the workouts in an Airtable database Each days workout is in 1 column with the various exercises in rows, with breaks in between. The 1st row is a flag which shows whether that days workout is complete or not.
The user will get a 12 week program.
He can complete 1 days workout and the DONE flag is set in the column so when he comes back the next day, he will be shown the next days workout based on a flag in the first row.
Now the things I want to know are:
- Each day will have different number of exercises. So how to count the number of rows in one column for that day?
- How will I loop through the different exercises from one column based on a when user clicks on Done? Need to know the block details
For now I am just trying the get the exercise names on the screen. Will add the pictures later.
All help will be appreciated.