Closed

2 forms need some PHP code adding

This project received 17 bids from talented freelancers with an average bid price of £5 GBP / hour.

Get free quotes for a project like this
Employer working
Project Budget
£2 - £5 GBP / hour
Total Bids
17
Project Description

Have 2 forms on a website. Each form sends an email to the website owner with the details entered by the frontend user.

Both forms work correctly but I need to add some extra fields that are slightly different to the existing fields as follows:

Form 1:
This form has a field called "Medications Required". The form starts with 2 input lines (a line can be removed or added using javascript). More lines can also be added using javascript. A user needs to be able to add as many lines as they wish where they can add one entry per line. When submitting the form it should validate and send the admin an email with all data from all lines in this "Medications Required" field. Currently I can only get it to send the first line entry of data.

Form 2:
This form is to gather different data and requires a section like form 1 but instead of the adding / removing of just one input line this form requires the adding removing of an entire section within the form. This form will be for a frontend user to register an animal(s) so the user needs to be able to (using javascript) click on a link to add another section for say animal 2 / animal 3 and so on... Each section will have approximately 10 input fields (Animal Name, Species, Breed, Colour etc.), some of the fields on each of these sections will be a dropdown select, some text input and one will be a date picker (which is already implemented in the script and just needs to be called).

Most of the code is written for both forms and it all works fine already. The bits I need creating are just as described above (which are essentially additions to the existing code). The bits I cannot do here is the PHP, javascript for validating the extra information when there is more than one piece of data per field...

Hope this makes sense.

Easy work for an experienced PHP, Javascript person.

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online