Hello, I'm trying to send form data to a CRM using "POST form results to a URL/WebHook".
I don't understand how can I get form variables through code into "Webhook URL".
Where can I find some docs about this option? Someone has done this task?
Thank you for support!
CGBetterForms send data to CRM
Re: CGBetterForms send data to CRM
Seems to me you should just enter the url there. The variables will be POSTed to this url.
Re: CGBetterForms send data to CRM
Ok, it's clear. But how these variables are get from the hook page?velden wrote:Seems to me you should just enter the url there. The variables will be POSTed to this url.
Code: Select all
myVar = $response->get_field_value('field_name')
Re: CGBetterForms send data to CRM
I don't know what you mean.
Note that I never used this feature but I'd expect the variables are posted to this url by their name.
field_name = field_value
Didn't test it though that should be simple with a php test-script to post to.
Note that I never used this feature but I'd expect the variables are posted to this url by their name.
field_name = field_value
Didn't test it though that should be simple with a php test-script to post to.