Skip to content

plamenmarinov/form_application_by_plam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

form_application_by_plam

Simple Form Application

python_kivy_logo

form_pictude

The Python code defines a Kivy application that displays a form with several input fields for a user to fill out (personal name, family name, email address, phone number, birthdate, password, and password confirmation). When the user clicks the "Send" button, the application validates the input and displays an error message if any field is empty or if the email or phone number are not in the correct format.

The code uses regular expressions to check if the email and phone number are valid. If any of the validation checks fail, a custom exception class FormValidationException is raised with an appropriate error message.

The Kivy code defines the UI layout for the form, with labels and text inputs for each field, as well as a submit button and a label for displaying error messages.

When the form is submitted and all validation checks pass, the application prints the values entered by the user to the console and exits.

About

Simple Form Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published