FORM IN DYNAMIC PAGE


Hi all,

This a dynamic page that displays “projects” collection. in the “projects” collection now I have 4 projects “p2000” “p2001” etc,

I want the form to be able to do this, once you’re displaying “p2000” and you vote you can only vote for “p2000” now you can vote but if im on dynamic page “p2001” and I vote it will vote for “p2000” still!

(note: I have right now the voting is being collected in “voting” collection.)

second issue:

I would like the total votes to appear/count automatically when people vote for a project.

I hope someone can guide me through step by step to accomplish what im trying to accomplish.

Thank you,
-Hosam

Hi,
Do you have a members login feature in your site?
If so, you add a boolean field called isVoted and change it according to the voting status.
How do you store the counts of voting?
Roi.

how do I change the Boolean field to according to the voting status? im Not sure if I understand can you please explain more?

Hello

Hello