Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Contact form button click action
I created a contact me HTML page and there I created a Contract form and there is a submit button. I want to click on that button and check if all the text boxes that the form consists of is filled with user's input. If it is then I want to activate <form> method= post and at the same time create a popup message box showing "Form submitted successfully". If all the input fields are not entered, I don't want to activate <form> method= post and popup a message box showing "please fill all the input fields".
How to implement that? I can't find a way to do that. I want to use just python and HTML and css.
(Feb-01-2020, 04:00 PM)Man_from_India Wrote: I want to use just python and HTML and css.
Look at this post that i recently posted.
This is the simplest way to work with HTML and CSS in Python,there is a layer below which is WSGI(an old retired CGI).
To make it very clear you do not want to interact with this layer for a simple HTML Contract form,
it's very hard because of the raw nature WSGI nothing is written finish to get values from a HTML form.
Only people who want to make yet and other Python web-framework need to study and use WSGI directly.

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Send email to gmail after user fill up contact form and getting django database updat Man_from_India 0 80 Jan-22-2020, 03:59 PM
Last Post: Man_from_India
  Radio button in form Heinrich 1 98 Jan-14-2020, 05:41 PM
Last Post: Heinrich
  HOWTO? Login DSL Modem with Python Requests: need Click "Apply" Button Webtest 4 3,309 Aug-20-2019, 04:03 PM
Last Post: johnmina
  Selenium click on popup button??? GuJu 7 1,559 Jul-20-2019, 09:21 AM
Last Post: Nizam
  form fill & button clicks rudolphyaber 3 639 Apr-25-2019, 06:32 PM
Last Post: Larz60+
  How to trigger click event on Button without ID/Name gahhon 7 1,462 Feb-10-2019, 03:06 PM
Last Post: gahhon
  how to click javascript button hcyeap 3 1,765 Aug-16-2018, 01:26 PM
Last Post: metulburr
  TypeError: can't contact str to bytes MartyXO 0 742 Apr-28-2018, 08:38 AM
Last Post: MartyXO
  Submit button not working when using form tuannv562 0 1,463 Apr-23-2018, 03:49 AM
Last Post: tuannv562
  Click a button to get next page ian 7 20,990 Apr-15-2018, 10:05 PM
Last Post: snippsat

Forum Jump:

Users browsing this thread: 1 Guest(s)