Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contact form #8

Closed
7 tasks done
oskar-gmerek opened this issue Apr 19, 2023 · 0 comments · Fixed by #53
Closed
7 tasks done

Contact form #8

oskar-gmerek opened this issue Apr 19, 2023 · 0 comments · Fixed by #53
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@oskar-gmerek
Copy link
Owner

oskar-gmerek commented Apr 19, 2023

The contact form should send two emails after submission:

  1. The first email with the form content should go to my email box.
  2. The second email should confirm submission and go to the user if email is provided.

The form should look different depending on the subject of contact. The starting list of subjects:

  • Web Development

    • Project Name text input
    • Project Details textarea
    • Budget text input
    • Deadline select / text input
    • Additional Requirements textarea
  • Job Offer

    • Company Name text input
    • Company Website text input
    • Position text input
    • Job Description textarea
    • Work Mode select onsite | hybrid | flexible | remote
    • Location text input *hidden for remote
    • Salary text input
    • Additional Information textarea
  • Business Partnership (contact form) #46

    • Company Name text input
    • Company Website text input
    • Nature of Partnership textarea
    • Expected Benefits textarea
    • Additional Information textarea
  • Collaboration (contact form) #47

    • Organization Type select company | charity | freelance | other
      • Company Name text input *only for company
      • Organisation Name text input *only for charity
    • Collaboration Details textarea
    • Expected Outcomes textarea
    • Additional Information textarea
  • Investment Opportunity (contact form) #48

    • Company Name text input
    • Company Website text input
    • Investment Details textarea
    • Expected Returns textarea
    • Additional Information textarea
  • Other Inquiries (contact form) #49

    • Message textarea
    • Additional Information textarea

For all subjects there should be contact details:

  • Contact Details (contact form) #50
    • Full name text input
    • Email Address text input *with validation for valid email format
    • Mobile Number text input
    • Other contact ways textarea

There is no need to require to fill in more fields than Full name + one option of contact.
The fields are meant to suggest what information I expect, but in no way do I want to force users to fill in the information they do not want to provide. So the form will be validated only if the name of the user was provided and any of the contact ways. Additionally, I will validate if email is correctly typed and all other fields will be left as they are.

@oskar-gmerek oskar-gmerek added this to the first beta milestone Apr 19, 2023
@oskar-gmerek oskar-gmerek self-assigned this Apr 19, 2023
@oskar-gmerek oskar-gmerek added the enhancement New feature or request label Apr 22, 2023
@oskar-gmerek oskar-gmerek modified the milestones: first beta, v1 Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant