agamjotsingh18 / codesetgo

Open Source Website of CodeSetGo
https://codesetgo.netlify.app/
MIT License
77 stars 235 forks source link

Contact Form Implementation with Getform.io and Email Notification #688

Closed Nishitbaria closed 1 year ago

Nishitbaria commented 1 year ago

Related Issue

639

This pull request adds the functionality to the contact form on our website, enabling it to work with Getform.io and send email notifications to the owner whenever a new submission is made.

Proposed Changes

Changes Made:

  1. Integrated the Getform.io API with the existing contact form to handle form submissions securely.
  2. Implemented form validation using HTML5 attributes to ensure all required fields are filled correctly before submission.
  3. Added custom JavaScript validation to handle form submission and display error messages for invalid fields.
  4. Configured the form to send data to the specified Getform.io endpoint for processing.
  5. Set up an email notification system using Getform.io to alert the owner of new form submissions.
  6. Tested the functionality to verify that the contact form is now working as expected.

Benefits: With this implementation, users can now easily submit inquiries and messages through the contact form on our website. The form data will be sent securely to Getform.io, and the website owner will receive email notifications for each new submission. This will streamline communication with our website visitors and ensure that we never miss any important messages or inquiries.

Additional Info

Checklist

Output Screenshots

image image image

netlify[bot] commented 1 year ago

Deploy Preview for codesetgo ready!

Name Link
Latest commit 8aac9747b06192ebeeb2f431fbc4b336a8f1e89c
Latest deploy log https://app.netlify.com/sites/codesetgo/deploys/64cfb7cf9366a80008077054
Deploy Preview https://deploy-preview-688--codesetgo.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Nishitbaria commented 1 year ago

@agamjotsingh18 ,please review and merge my pull request

agamjotsingh18 commented 1 year ago

Submit button not working

Nishitbaria commented 1 year ago

@agamjotsingh18 ,now you can review and merge my pull request ,form is working

Nishitbaria commented 1 year ago

@agamjotsingh18,please add level and label to this pull request

agamjotsingh18 commented 1 year ago

@agamjotsingh18,please add level and label to this pull request

It's still not working but I'm merging as the program going to end soon

Nishitbaria commented 1 year ago

@agamjotsingh18,can i create issue for fixng validation checking of this form,because that is causing problem ,then it will work