HI,
I need some help with some calculations.
I have a site which the user need to enter details on a form 6 times a day.
This form is filled out by the user upto 6 times a day, it records the amount of meals eaten and the content of the meals. The user has to fill in how many calories the meal was and how much water they drank.
On the user profile I have modules to show the results from all the different types of forms the user has to fill in.
On the profile should also show a total for the week of calories and water, this is where I need the help.
I want a total for the Calories and Water-totals per day and also per week. Later on I also want to show these in graph form.
I dont know the best way to do this or how to do this. Would it be best to make a new list that joins to the Nutrition Diary list and then perform the calculations? or use database join elements in the Nutrition Diary list? or make a view in phpmyadmin?
On the site there are many other forms that need calculations doing on them but hopefully I can work them out myself once I understand how it works.
To take a look at the user profile with some dummy form data you can login in the front end with :user: sam ass:demo123
I have entered all the details needed in "mysites" the list/form is called Nutrition Diary.
Thanks very much in advance for your help.
I need some help with some calculations.
I have a site which the user need to enter details on a form 6 times a day.
This form is filled out by the user upto 6 times a day, it records the amount of meals eaten and the content of the meals. The user has to fill in how many calories the meal was and how much water they drank.
On the user profile I have modules to show the results from all the different types of forms the user has to fill in.
On the profile should also show a total for the week of calories and water, this is where I need the help.
I want a total for the Calories and Water-totals per day and also per week. Later on I also want to show these in graph form.
I dont know the best way to do this or how to do this. Would it be best to make a new list that joins to the Nutrition Diary list and then perform the calculations? or use database join elements in the Nutrition Diary list? or make a view in phpmyadmin?
On the site there are many other forms that need calculations doing on them but hopefully I can work them out myself once I understand how it works.
To take a look at the user profile with some dummy form data you can login in the front end with :user: sam ass:demo123
I have entered all the details needed in "mysites" the list/form is called Nutrition Diary.
Thanks very much in advance for your help.