Python Forum
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.
Reply
#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.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  cant click button by script at page michael1834 1 994 Dec-08-2023, 04:44 PM
Last Post: SpongeB0B
  Click on a button on web page using Selenium Pavel_47 7 4,564 Jan-05-2023, 04:20 AM
Last Post: ellapurnellrt
  button click error rafarangel 2 3,082 Feb-11-2021, 08:19 PM
Last Post: buran
  How to send notifications to gmail from contact form using Django and pushbullet Justchse 0 1,840 Sep-01-2020, 01:19 PM
Last Post: Justchse
  Log In Button Won't Click - Python Selenium Webdriver samlee916 2 3,770 Jun-07-2020, 04:42 PM
Last Post: samlee916
  How to click facebook message button JanelleGuthrie 2 2,370 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 2,070 Jan-22-2020, 03:59 PM
Last Post: Man_from_India
  Radio button in form Heinrich 1 2,022 Jan-14-2020, 05:41 PM
Last Post: Heinrich
  HOWTO? Login DSL Modem with Python Requests: need Click "Apply" Button Webtest 4 8,406 Aug-20-2019, 04:03 PM
Last Post: johnmina
  Selenium click on popup button??? GuJu 7 7,726 Jul-20-2019, 09:21 AM
Last Post: Nizam

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020