We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 16
GHOUSIA COLLEGE OF ENGINEERING
RAMANAGARA – 562159 Department of Computer Science & Engineering
TOPIC :
SIMPLE REGISTRATION FORM
Prepared By: 1GC24 : SHASHANTH M B Under the guidance of 1GC24 : J RAGHAVENDRA Mrs Arjuman Nasreen Banu 1GC24 : TEJAS P (Asst.prof CSE Dept) 1GC24 : CHETAN H P What is Registration form? A registration form is a list of fields that a user will input data into and submit to a company or individual. There are many reasons why you would want a person to fill out a registration form. Companies use registration forms to sign up customers for subscriptions, services, or other programs or plans. Project goals “Design and implement a registration form that meets the following goals:” - User-friendly interface - Validate user input - Store user data securely - Easy to maintain and update System design “The registration form will be built using Python and Tkinter.” - Diagram: a simple system design diagram showing the user interface, validation, and data storage components Implementation The registration form will be implemented using Python and Tkinter.” - Code snippet: a sample code snippet showing the implementation of the registration form User interface “The user interface will include the following fields:” - User name - Email - Password - Confirm password Experiences
Easy and Quick Registration_: A
simple and intuitive registration form that can be completed quickly, making the user feel efficient and satisfied. * Clear Instructions_: A registration form with clear and concise instructions, making it easy for the user to understand what information is required. Data storage The registration form will store user data in a file or database.” - Bullet points: - File storage: CSV or JSON file - Database storage: SQLite or MySQL database Futures of Registration form 1. *Username*: a unique identifier for the user 2. *Email*: a valid email address for communication 3. *Password*: a secure password for account access Real-World Applications 1…Social Media Platforms_: Facebook, Twitter, Instagram, etc… 2….Email Services_: Gmail, Yahoo Mail, Outlook, etc. 3….Online Banking_: Bank of America, Chase, Wells Fargo, etc. 4…..E-commerce Websites_: Amazon, eBay, Walmart, etc. 5…..Event Registration Websites_: Eventbrite, etc. 6…….Non-profit Organization Donation Websites_: American Red Cross, etc. Validation
The registration form will validate
user input to ensure that it meets the following criteria:” - Bullet points: - User name and email are not empty - Password and confirm password match - Email is in a valid format INPUT (CODE) Tk.Label(root, text=“Email”).grid(row=1, column=0, padx=10, pady=5) Import tkinter as tk entry_email = tk.Entry(root) from tkinter import messagebox def submit_form(): entry_email.grid(row=1, column=1, name = entry_name.get() padx=10, pady=5) email = entry_email.get() tk.Label(root, password = entry_password.get() text=“Password”).grid(row=2, gender = gender_var.get() column=0, padx=10, pady=5) dob = entry_dob.get() entry_password = tk.Entry(root, messagebox.showinfo(“Form Details”, f”Name: show=‘*’) {name}\nEmail: {email}\nPassword: {password}\ nGender: {gender}\nDate of Birth: {dob}”) entry_password.grid(row=2, root = tk.Tk() column=1, padx=10, pady=5) root.title(“Registration Form”) tk.Label(root, tk.Label(root, text=“Name”).grid(row=0, column=0, text=“Gender”).grid(row=3, padx=10, pady=5) column=0, padx=10, pady=5) entry_name = tk.Entry(root) gender_var = entry_name.grid(row=0, column=1, padx=10, pady=5) tk.StringVar(value=“Male”) tk.Radiobutton(root, text=“Male”, variable=gender_var, Value=“Male”).grid(row=3, column=1, sticky=‘w’, padx=10, pady=5) tk.Radiobutton(root, text=“Female”, variable=gender_var, value=“Female”).grid(row=3, column=1, sticky=‘e’, padx=10, pady=5 tk.Label(root, text=“Date of Birth (YYYY-MM- DD)”).grid(row=4, column=0, padx=10, pady=5) entry_dob = tk.Entry(root) entry_dob.grid(row=4, column=1, padx=10, pady=5) submit_button = tk.Button(root, text=“Submit”, command=submit_form) submit_button.grid(row=5, columnspan=2, pady=10) root.mainloop() Output Conclusion “The registration form project is a simple yet effective way to collect user data and store it in a file or database.”