External search results, pre-populate fields in gravityform.
-
As I am not a programmer this task seems on the edge of what i do. Then again it feels like it should be a fairly easy task to integrate this in gravity somehow.
i have provided some sourcecode and also the api output.
I just quite know how to use this in the WordPress + Gravity forms builder.
———————Using Gravity And wordpress
I need to integrate the CVR api to search a danish company details. when creating users on my site. (using the vat(CVR)number).And then use the search-result details to pre-populate some registration-fields in a Gravity form in wordpress.
The search results is created like on this url: https://cvrapi.dk/
Punch inn this number to see the output: 25508343 ( Just to test how the API Anwsers, The number is for CARLSBERG BREWERIES A/S )
Here is the Link to the API Usage examples: https://cvrapi.dk/examples
——————————————
Below is the Fields I need to Auto/Pre-populate.“vat”: 25508343,
“name”: “CARLSBERG BREWERIES A/S”,
“address”: “Ny Carlsberg Vej 100”,
“zipcode”: “1799”,
“city”: “K?benhavn V”,
“phone”: “33273327”,
“email”: null,
“fax”: null,
“startdate”: “29/06 – 2000”,
“enddate”: null,
“industrycode”: 463410,
“industrydesc”: “Engroshandel med ?l, mineralvand, frugt- og gr?ntsagssaft”,
“companydesc”: “Aktieselskab”,
“creditbankrupt”: false,Thanks in advance !!!
Most Respectfully
Monzterdk
- The topic ‘External search results, pre-populate fields in gravityform.’ is closed to new replies.