• twitter image
  • facebook image
  • youtube image
  • linkedin image
Language: CMS Made Simple Czech CMS Made Simple France CMS Made Simple Spain CMS Made Simple Hungary CMS Made Simple Russia CMS Made Simple Netherlands

All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: CGBetterForms send data to CRM
PostPosted: Mon Jun 04, 2018 3:05 pm 
Offline
Forum Members
Forum Members

Joined: Wed May 10, 2017 12:01 pm
Posts: 11
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!


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGBetterForms send data to CRM
PostPosted: Mon Jun 04, 2018 8:22 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3178
Location: The Netherlands
Seems to me you should just enter the url there. The variables will be POSTed to this url.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGBetterForms send data to CRM
PostPosted: Tue Jun 05, 2018 8:29 am 
Offline
Forum Members
Forum Members

Joined: Wed May 10, 2017 12:01 pm
Posts: 11
velden \velden:
Seems to me you should just enter the url there. The variables will be POSTed to this url.


Ok, it's clear. But how these variables are get from the hook page?
\$1:
myVar = $response->get_field_value('field_name')

Is syntax correct?


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
 Post subject: Re: CGBetterForms send data to CRM
PostPosted: Tue Jun 05, 2018 12:33 pm 
Offline
Dev Team Member
Dev Team Member

Joined: Mon Nov 28, 2011 9:29 am
Posts: 3178
Location: The Netherlands
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.


Top
  Profile  
 
Share On:
Share on Facebook Share on Twitter Share on Google+
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Hosting Nation - Managed CMSMS Hosting