- A PHP-script to generate an e-mail based on values passed from the form by AJAX
Parameters to load the form will be:
- publisher-id (online shop, e.g. a car parts shop)
Based on these parameters, the JS-API will return a form based on the category-value provided. To each category there is a third-party-partner assigned and also the form fields that need to be loaded (e.g. gender, firstname, lastname, e-mail, phone, address, zip, city, country). The form should have client-side validation. Can be achieved by using an existing library.
When the user submits the form, an AJAX-call is made to a PHP-script, that will generate an e-mail to a recipient based on the category. All publisher ids are hard-coded. The relationship between a category and relevant partners (e.g. insurance company) will be hard-coded as well. When the AJAX-call is successful, it return a success message to the widget, if it fails, it returns an error. The script should also do some basic validation
We will provide:
- an example case
- html/css for the form
This project is an MVP and should be developed as light as possible. If the MVP is successful, we will build the project to be more sophisticated with administration to assign partners/recipients to categories etc.
If you have any questions, please ask. To make sure we only receive bids from freelancers who have read the description, please add the results of this equation to your bid: 4+8=?
11 фрилансеров(-а) в среднем готовы выполнить эту работу за $167