I keep my CRM behind a firewall.
In Campaigns, there is an ability to use a Proxy to monitor email responses and unsubscribes.
I do not see a similar setup in Surveys.
I have looked at the Forum and Googled “SuiteCRM Survey firewall” but no luck.
I did see numerous comments about adding &contact=$contact_id to the Survey URL string to capture the actual Contact Name for the Survey responses and I want to include that as well.
How can I use a proxy - like in Campaigns - to capture the results of a Survey AND include the Contact Name responsing to the Survey so I can see in the Survey Report and the Contact Subpanel, who has responded with what response?
Hello @Ramblin
just found your post by chance - did you solve the issue?
What I’ve done in similar circumstances was to work with a third server.
The CRM server was behind a firewall.
The firewall allowed incoming requests from a 3rd server.
The 3rd server was accessible from the internet / from the website-server.
The survey is basically just an HTML form:
<form method="post">
<input type="hidden" name="entryPoint" value="surveySubmit">
<input type="hidden" name="id" value="da7a8f35-75b1-68de-f2e3-6677417c8ea6">
...
So it is possible to copy / create an identic HTML form, put it on your webserver.
That will send the data to the third server.
I’ve developed a PHP script, that received the form data from the website and simply creates this POST request and sends it to the CRM server.
It is more work - but therefore your CRM can stay behind the firewall.
Inside the PHP, you can do all sorts of checks, validation and sanitation of data.
I had not solved it previously; thank you for your suggestion