title: Working with forms in Django and checking if all the input fields are entered
body: <p>I have created a contact page and there I created a form that looks like this</p>
  
  <p><a href="https://i.stack.imgur.com/bnUxT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bnUxT.png" alt="enter image description here"></a></p>
  
  <p>Now I want that 'submit' button to check whether all the input fields are entered. If it is then I want to activate the </p>
  
  <p><code>&lt;form action="{% url 'contact' %}" method="post"&gt;</code></p>
  
  <p>Otherwise no post method activation. Instead a popup message box will appear telling that "Please enter all the fields"
  <a href="https://i.stack.imgur.com/GQvlA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GQvlA.png" alt="enter image description here"></a></p>
  
  <p>If post method is activated, I want to go to the {% url 'contact' %} that is my views.py file and check if the system is able to retrieve all the values from the input fields. </p>
  
  <p><a href="https://i.stack.imgur.com/3WCTS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3WCTS.png" alt="enter image description here"></a> </p>
  
  <p>If it does it will render a fresh contact page return render(request, 'myapp/contact.html')
  And popup another message box to the browser that "Form is submitted successfully"
  Else another message box to the browser that "There is an error occurred submitting the form"</p>
  
  <p>I really can't find a way to implement this. I am a newbie is Django and Python. I have very minimum experience in html and CSS. But no JavaScript, though I used a small JavaScript code, I wish to completely use Python, HTML and CSS. Is that possible to implement this scenario using my desired language?</p>
  
  <p>If yes, please tell me how.</p>