I have a requirement for an online submission of an essay where the user is only allowed to submit the essay text ONCE. In addition, the user is only allowed to send animage attachment (artwork) only ONCE as part of the assignment submission.
I have created an Assignment activity where the description section contains an iframe to a HTML/php form. The form in the description section will allow the user to type in their essay, name and e-mail address. You can see the form here: http://cefl4u.org/postcard/contact2/
What I did was to embed that form inside the Assignment's description section.
I have also set the assignment to allow only 1 file submission. What I want to do is to not allow the user to read the description section after he or she has submitted the assignment. In the image below, the user has already submitted the assignment, but is still able to read the description.
So he or she will still be able to type in their essay again because the description section is showing.
So how do I
(1) hide the description section once the user has submitted his/her assignment
(2) hide the Assignment link that is shown on the course page once the user has submitted the assignment? [my logic is if I can do this, then there is no way the user can read the description section once he or she has submitted the assignment.
Using the Assignment restrictions settings, I can hide it UNTIL a certain date or I can hide it AFTER a certain date. In my case I want to either do (1) or do (2) which is to make the "Essay writing competition" link invisible or disabled once Moodle detects that the user has already submitted the assignment. Assume that the teacher has not yet graded the submission and I want to hide/disable the "Essay writing competition" link. How on earth can I do this?