Hello,
I am currently designing a new website. I have pretty basic knowledge on the subject but I want it to do something that i have no idea how to go about whatsoever !!!
The company is a car heater fix company. We have two operatives and I would like the code to pick one of our postcodes depending on which is closer to the users postcode
What I am looking for is an input field where the user would put in their own UK postcode and then the code would do 3 things.
1) work out which operative's postcode is closest to the user's postcode and work out the distance.
2) use the distance between the two postcodes to work out a mileage cost. (eg £0.40/mile) as well as add another constant number to give a total cost.
3) Output the total cost in a seperate small pop up window.
Does anyone have any idea how I would go about this or where I should look for some help... I had a search on here but couldn't find anything !!!
Regards,
Martin87