Closed melikecode closed 7 years ago
There’s no unique ID for an activity to identify it in a form (e.g. in the "value" field). There might be a way to achieve this by sticking the key data together in the value field, separated by characters we can use to parse stuff out later, like a comma or a backslash - kind of like how you can deal with a CSV file and parse out the cells that way.
(e.g. value="row["target_minutes"],row["target_activity"],row["period"]")
Any thoughts on this?
We could prevent special characters in the text fields where the user logs activities to make sure those characters aren’t in there http://www.w3schools.com/tags/att_input_pattern.asp
Complete
A user can add targets (e.g. X minutes of ACTIVITY per PERIOD). A user should be able to delete a target.