Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Contact form button click action
#1
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.
Quote
#2
(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.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  How to send notifications to gmail from contact form using Django and pushbullet Justchse 0 149 Sep-01-2020, 01:19 PM
Last Post: Justchse
  Log In Button Won't Click - Python Selenium Webdriver samlee916 2 505 Jun-07-2020, 04:42 PM
Last Post: samlee916
  How to click facebook message button JanelleGuthrie 2 349 May-14-2020, 06:02 PM
Last Post: Larz60+
  Send email to gmail after user fill up contact form and getting django database updat Man_from_India 0 333 Jan-22-2020, 03:59 PM
Last Post: Man_from_India
  Radio button in form Heinrich 1 320 Jan-14-2020, 05:41 PM
Last Post: Heinrich
  HOWTO? Login DSL Modem with Python Requests: need Click "Apply" Button Webtest 4 4,065 Aug-20-2019, 04:03 PM
Last Post: johnmina
  Selenium click on popup button??? GuJu 7 2,421 Jul-20-2019, 09:21 AM
Last Post: Nizam
  form fill & button clicks rudolphyaber 3 1,231 Apr-25-2019, 06:32 PM
Last Post: Larz60+
  How to trigger click event on Button without ID/Name gahhon 7 2,656 Feb-10-2019, 03:06 PM
Last Post: gahhon
  how to click javascript button hcyeap 3 2,346 Aug-16-2018, 01:26 PM
Last Post: metulburr

Forum Jump:


Users browsing this thread: 1 Guest(s)