Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Im making a site where my students can submit anonymous answers to me, I have a domain for the site, and I just want the site to be a blank page with a text box that they can enter words into. How to I receive what the students posted, so that other students cant see it? Can I send the answers to my domain files? Thanks a lot!

What I have tried:

This is the answer box that I want to use but not using them as username or password spots


<pre><form action="action_page.php">
  <div class="imgcontainer">
    
  </div>

  <div class="container">
    
    <input type="text" placeholder="" name="uname" required>

    <input type="password" placeholder="" name="psw" required>
    
<button type="submit">Submit</button>
    
</style>
    

  </div>

  <div class="container" style="background-color:#f1f1f1">
  
   
  </div>
</form>
Posted
Updated 7-Oct-18 11:40am
Comments
Richard MacCutchan 8-Oct-18 4:16am    
When the student presses the submit button, you capture the text and clear the textbox for the next input.

1 solution

We do not do your homework: it is set for a reason. It is there so that you think about what you have been told, and try to understand it. It is also there so that your tutor can identify areas where you are weak, and focus more attention on remedial action.

Try it yourself, you may find it is not as difficult as you think!

If you meet a specific problem, then please ask about that and we will do our best to help. But we aren't going to do it all for you!
 
Share this answer
 
Comments
Alex McAllister 7-Oct-18 17:44pm    
Thanks for your imput!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900