Develop both the front-end and back-end for the peer evaluation form where students assess teammates based on cooperation, conceptual contribution, practical contribution, and work ethic (7-point scale). The form should also allow students to leave a general comment and prevent multiple submissions for the same teammate.
Frontend: Evaluation Form Interface
Form Design:
Build a form to evaluate teammates on the four dimensions and include a general comment box.
Add a checkbox or dropdown to allow students to select one, many, or all teammates for evaluation (exclude already evaluated teammates).
Dynamic Behavior:
Show evaluation fields dynamically for each selected teammate.
Validation:
Ensure ratings are on a 7-point scale and the comment box is optional (with a character limit).
Prevent form submission until all required fields are filled out.
Cancel Option:
Add a "Cancel" button that returns students to the dashboard without saving data.
Backend: Evaluation Submission Logic
Database Logic:
Process and save ratings and comments for each teammate.
Ensure students can only evaluate a teammate once per project.
Save and Confirm:
Save evaluations to the Evaluations table, log submission time, and redirect students to a confirmation page.
Error Handling:
Handle errors such as invalid ratings or duplicate evaluations and provide feedback to the user.
Description:
Develop both the front-end and back-end for the peer evaluation form where students assess teammates based on cooperation, conceptual contribution, practical contribution, and work ethic (7-point scale). The form should also allow students to leave a general comment and prevent multiple submissions for the same teammate.
Frontend: Evaluation Form Interface
Form Design:
Dynamic Behavior:
Validation:
Cancel Option:
Backend: Evaluation Submission Logic
Database Logic:
Save and Confirm:
Evaluations
table, log submission time, and redirect students to a confirmation page.Error Handling: