The topic of the task is to create a contact form, from which applications will be saved
in the database and sent to the indicated e-mail address.
• first name
• phone number
• e-mail adress
• Message content
Data validation requirements:
• the name, surname and content of the message must be completed, and at least one of the fields must be completed
contact telephone number / e-mail address
• values in the name and surname fields can not be longer than 40 characters, while the content
400 characters messages
• the contact telephone field can take values in the following formats: xxxxxxxxx, xxx-xxx-xxx
and xx-xxx-xx-xx (digits can be separated by dashes or spaces)
Validation should take place on the server side. In case of not meeting the requirements
validation messages should be displayed in the appropriate fields.
In case of incorrect filling in the form, the values entered earlier in the fields should
be remembered so that there is no need to refill all the fields
Writing to the MySQL database
Data from the form must be saved in the database (each field should have its own
the equivalent in the table) together with the date and time of sending the form and the user's IP address.
Shipment to e-mail address
After correct saving to the database, the values from the form should be sent by text
by e-mail to an example address. The content of the email should contain values from the form in the format
'field name: field value', where each field will be in a separate line of mail.
The shipment should be done using the Swift Mailer or PHPMailer library.
Thank you page
After completing and correctly saving the form data, the page should reload on
thank you for the text 'Thank you for sending the message', which will replace the form. Under
thank you should be a link to return to the form with the text 'Send another
the configuration should be in a separate file where you can change:
access to the database, e-mail address to which notifications and configuration will be sent
e-mail server and server paths (if needed).
• after sending the form, refreshing the page can not result in re-sending
• the form should contain security against fraud: if after using
the form the user will try to send another message in less than
minute should see the message at the level of validation: 'From sending the previous one
the message has not been over a minute. Please try again in a moment. ',
however, the data should not be saved and sent in this case
• the whole must work correctly from the root of the domain / subdomain
34 freelancers are bidding on average zł59/hour for this job
hi, i can create such form and implement mentioned in the project description changes and features. contact me, i am experienced web developer from Ukraine.
reason for pricing is one and only that we put maximum efforts in one assignment we are working only in one assignment and project at one [login to view URL] working mission is only client satisfaction.