Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: Tie survey response to a contact who is not part of a campaign

Tie survey response to a contact who is not part of a campaign 1 week 4 days ago #90369

  • MJJohn
  • MJJohn's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Hi,

I have created a couple of contacts. I have also created a survey. I need to send emails to these contacts with the survey link as part of the email. I would like to see the contact name of the person as part of the responses so that I can understand who responded. Please note that these contacts are not part of a campaign.

Any help will be appreciated
Thanks!
The administrator has disabled public write access.

Tie survey response to a contact who is not part of a campaign 1 week 4 days ago #90386

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 11144
  • Thank you received: 1669
  • Karma: 380
I don't think this is possible.

Are you a PHP developer? Maybe you could send an extra user_id as an HTTP GET parameter appended to the Survey URL. Then you would edit the Survey entry-point in SuiteCRM to make a note of that value and store it somwhere.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Tie survey response to a contact who is not part of a campaign 1 week 3 days ago #90430

  • MJJohn
  • MJJohn's Avatar
  • Offline
  • New Member
  • Posts: 2
  • Karma: 0
Thank you for your note...I was able to pass the contact name parameter through the Survey URL. The value is received correctly when the questionnaire is run at run time...However, like you mentioned I need to edit the Survey entry point to save the value in the survey response. Can you tell me where the file resides... It would save me some time.
The administrator has disabled public write access.

Tie survey response to a contact who is not part of a campaign 1 week 3 days ago #90439

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 11144
  • Thank you received: 1669
  • Karma: 380
I don't know either, but this seems to be it

github.com/salesagility/SuiteCRM/blob/ma...try/SurveySubmit.php

note that there is already something there to handle a link back to a Contact :huh:

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
Time to create page: 0.035 seconds
Powered by Kunena Forum