AJAX form submit and Response
Budget: $10 – $30 USD
Hi,
I have a form on a webpage. I'll be capturing a few details from the users viz. first name, email and phone number. I want to be able to submit this form using AJAX (i.e. without refreshing the page) and displaying the following:
1. Response after form submission --> success message or a failure message
2. Hiding the original form and displaying a new div with content if form submission is successful
3. Displaying a failure message above the original form if the form submission is a failure
The form will submit the data to a *.php file which will process the data submitted and provide the DIV if the submission was successful
This project requires that vanilla Javascript be used and no 3rd party frameworks such as JQuery, etc be used to complete the project.
Deliverables:
1. A webpage (HTML+CSS) with a simple form with 3 fields --> name, email and phone number
2. The vanilla javascript code to submit the form without refresh and display response as per description above
Things provided by me:
1. URL where the form data has to be posted and the expected responses (success or failure)
I have a form on a webpage. I'll be capturing a few details from the users viz. first name, email and phone number. I want to be able to submit this form using AJAX (i.e. without refreshing the page) and displaying the following:
1. Response after form submission --> success message or a failure message
2. Hiding the original form and displaying a new div with content if form submission is successful
3. Displaying a failure message above the original form if the form submission is a failure
The form will submit the data to a *.php file which will process the data submitted and provide the DIV if the submission was successful
This project requires that vanilla Javascript be used and no 3rd party frameworks such as JQuery, etc be used to complete the project.
Deliverables:
1. A webpage (HTML+CSS) with a simple form with 3 fields --> name, email and phone number
2. The vanilla javascript code to submit the form without refresh and display response as per description above
Things provided by me:
1. URL where the form data has to be posted and the expected responses (success or failure)