Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aaronmts/contact-form
Showcases how submitted data from HTML forms are handled.
https://github.com/aaronmts/contact-form
forms javascript php
Last synced: about 1 month ago
JSON representation
Showcases how submitted data from HTML forms are handled.
- Host: GitHub
- URL: https://github.com/aaronmts/contact-form
- Owner: AaronMTS
- Created: 2024-10-11T04:30:05.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-11T13:45:37.000Z (about 1 month ago)
- Last Synced: 2024-10-17T23:14:57.081Z (about 1 month ago)
- Topics: forms, javascript, php
- Language: HTML
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Contact Form
Made as a way to familiarize learners (myself included) to form data handling.
## Run Locally
* Clone the project```bash
git clone https://github.com/AaronMTS/contact-form.git
```
### Using JavaScript
* Visit the project's live preview* Test the form using dummy data
### Using PHP and XAMPP
* Download XAMPP [here](https://www.apachefriends.org/download.html) and install it to your computer.
* Transfer the project directory to htdocs.
```
C:\xampp\htdocs
```* Edit index.html: Remove the form ID and add contact.php as a value to the action attribute
```
```* Open XAMPP and start the server
1. Start Apache2. In your web browser, go to index.html
```
localhost/contact-form/index.html
```
3. Test the form using dummy data