To enable a survey to appear on eWeb, do the following.
.../eweb/DynamicPage.aspx?Site=XXXX&WebCode=Survey&srr_cst_key=00000000-0000-0000-0000-000000000000&srr_srh_key=00000000-0000-0000-0000-000000000000
You will need to substitute in some values specific to your site, survey and customers:
A correct URL might look like this:
http://www.somewhere.org/eweb/DynamicPage.aspx?Site=XXXXX&WebCode=survey&srr_srh_key=e9365db9-8e05-494c-9dcb-eea2157acf38&srr_cst_key=21f1093b-fd6a-4d7f-9dc2-86cdacce3171
Note that a customer can take a survey only once. If they navigate to the survey page of a survey they've already completed, then won't be able to fill it out again.
You could also let a user go to the survey list page, on which the user can choose their survey from the list of online surveys. To create a link for this page, construct it like this:
../eweb/DynamicPage.aspx?Site=XXXXX&WebCode=surveylist
The eWebPlus website contains a Web Section called Survey, which has two pages. One page is a List page that shows any surveys, with each survey hyperlinked to a page on which the user can respond to the survey.
If your website does not contain this survey section, then you can deploy it to your section from the eWebPlus site.
The list page that shows all the surveys marked to show online, to which the user has not already responded. The page code is surveylist. The main page detail uses a ListControl to select and output the surveys.
The eWeb survey response form looks like this:
You can see an example of this in the eWebPlus web site. The page code is survey. This form has Toolkit fields on the top (response date, survey name, customer name) and a Form Extension on the bottom that dynamically paints the questions. The name of the form is Survey Response - Eweb. This is a baseline form. This page detail has Visibility SQL that will hide the form if the user already responded to the survey.
Suppose you want to send a communication to your members with a link to a survey where the customer will not need to log in.
You can do this using the same link as described above, only you must deselect the requires login flag on the Survey Detail web page, which by default is turned on.
When the user arrives on the page via the hyperlink, the user will not be logged in, but their survey response will be associated with their customer record. If the user then tries to click over to another page that does require login, then they'll need to log in.