Using JSON data to fill a contact form
Using JSON data to fill a contact form
Hi,
I'm pretty much a hobbyist and im doing a website. I have a working php contact form at the moment and it includes the fields 'car registration' 'make' and 'model'.
I also have an api key/access to a database which allows me to look up all of the other fields once i enter car registration.
The format is:
https://dvlasearch.appspot.com/DvlaSearch?licencePlate=mt09nks&apikey=DvlaSearchDemoAccount
Yes I have a working api key, obviously i wont be posting it here!
I would like to change the mentioned input boxes so the customer can put in their reg number and the website sends it off in the above format and then fills in the other boxes automatically.
Is there a demo script available that i can then modify to my own needs somewhere? Or are you able to advise?
Thanks.