{"id":5167,"date":"2012-10-23T15:27:33","date_gmt":"2012-10-23T15:27:33","guid":{"rendered":"https:\/\/www.snapsurveys.com\/support-snap11\/?page_id=5167"},"modified":"2018-10-04T14:13:29","modified_gmt":"2018-10-04T13:13:29","slug":"creating-custom-login-page","status":"publish","type":"page","link":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/","title":{"rendered":"Creating a custom login page"},"content":{"rendered":"<p>When you create a questionnaire for the Web, you can require respondents to manually log in. The login page can be customized as required in Snap Professional.<\/p>\n<p>If you need respondents to log in manually to access a questionnaire you will need to set up a login page in Snap. You must have a database list of respondents with a unique ID that they will use to log in. This ID must be seeded into the survey using a database link, so that Snap WebHost can compare the respondent login to the login in the database list. The Paradata variable <em>Respondent<\/em> must be used for the login question and you can also add the <em>Password <\/em>paradata if you are usng a password in the login too. Both these variables can be formatted to look the way your desire.<\/p>\n<h3>Summary of steps<\/h3>\n<ol>\n<li><a href=\"#o19272\">Setting up the database link to include your respondents<\/a><\/li>\n<li><a href=\"#o19260\">Selecting a database link and adding Respondent paradata<\/a><\/li>\n<li><a href=\"#o19273\">Customize the login page as desired<\/a><\/li>\n<li><a href=\"#o19261\">Publish the questionnaire<\/a><\/li>\n<\/ol>\n<h3><a id=\"o19272\" name=\"o19272\"><\/a>Step 1: Setting up the database link to include your respondents<\/h3>\n<p>To be able to use a login page, you must seed the survey with a respondents login id, so that Snap WebHost can match the correct logins (and passwords if used).<\/p>\n<ol>\n<li>Open the survey in Data Entry mode in Snap Professional.<\/li>\n<li>Select <strong>File | Database Links<\/strong> to display the <strong>Database Link<\/strong> dialog box.<\/li>\n<li>Click <strong>[New&#8230;]<\/strong> to create a new database link. The Database Wizard dialog is displayed.<\/li>\n<li>Click on the <strong>WebHost Invites\/Logins\/Seeding <\/strong> radio button.<\/li>\n<li>Click <strong>[Next&gt;]<\/strong>. The Database linkage dialog is displayed.<\/li>\n<li>Click <strong>[Select Database File&#8230;]\u00a0<\/strong>and browse to the Excel or MS Access file containing the respondent IDs and data<br \/>\nOR<br \/>\nClick <strong>[Build Data Link&#8230;] <\/strong>to build a link to an SQL Database with the same information.<\/li>\n<li>If you wish to filter the respondents so that this survey is only available to some members of the database, set an appropriate filter in the <strong>Where condition<\/strong> box. Click <strong>[Next&gt;]<\/strong>.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22917\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/171314v2.gif\" alt=\"171314v2\" width=\"362\" height=\"344\" \/><\/div>\n<\/li>\n<li>Select the \u2018Log in respondent (track respondent in WebHost for emails\/reminders\/seeding)\u2019 radio button and then select the unique respondent ID field from the <em>Login field<\/em> dropdown list. This will be used to set up the Respondents in Snap WebHost. If you also wish to include a password on the login page, select the password field from the <em>Password field<\/em> dropdown list. Now select the Send email invitations and reminders tick box if you wish WebHost to send out the email invitations and reminders for you. Also tick the Seed database data into questionnaires if you wish to seed fields from your database into the survey for each respondent.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22916\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/171023v2.gif\" alt=\"171023v2\" width=\"385\" height=\"368\" \/><br \/>\nIf you wish to identify your respondents in the data ensure that \u2018Identify respondents in the response data\u2019 is selected. Click <strong>[Next&gt;]<\/strong>.<\/li>\n<li>Set up your email invitation and reminder then ensure the \u2018Show a login page\u2019 radio button is selected. Click<strong> [Next&gt;]<\/strong>.<\/li>\n<li>Enter a name for the link and click <strong>[Finish]<\/strong> then <strong>[Close]<\/strong>.<\/li>\n<\/ol>\n<h3><a id=\"o19260\" name=\"o19260\"><\/a>Step 2: Selecting the database link.<\/h3>\n<ol>\n<li>In Questionnaire design mode, click <img loading=\"lazy\" decoding=\"async\" style=\"margin-left: 0px; margin-right: 0px; border: 0px;\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2013\/08\/18614.gif\" alt=\"Questionnaire Properties button\" width=\"26\" height=\"24\" align=\"bottom\" border=\"0\" hspace=\"0\" \/> to go to the Questionnaire properties page.<\/li>\n<li>Select the <strong>Data link <\/strong>section in the left-hand panel. (Note that this is only available for a Snap WebHost edition.)<\/li>\n<li>Select the previously created link to the respondent database in the <strong>Database link\u00a0<\/strong>drop-down list.<\/li>\n<li>Now scroll to Paradata in the left-hand panel of the Questionnaire Properties dialog box. Click Respondent and check the <em>Use in survey<\/em> box.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22929\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/158193v2.gif\" alt=\"158193v2\" width=\"407\" height=\"299\" srcset=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/158193v2.gif 407w, https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/158193v2-150x110.gif 150w\" sizes=\"auto, (max-width: 407px) 100vw, 407px\" \/><br \/>\nTo include the password paradata variable, click Password and check the <em>Use in survey<\/em> box.<\/li>\n<li>Click <strong>[OK]<\/strong> to retain settings.<\/li>\n<li>The Respondent and, if required, the Password Paradata variables will have been inserted at the top of the questionnaire.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22918\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/192763v2.gif\" alt=\"192763v2\" width=\"299\" height=\"157\" \/><\/div>\n<\/li>\n<\/ol>\n<h3><a id=\"o19273\" name=\"o19273\"><\/a>Step 3: Customize the login page as desired<\/h3>\n<p>Now you can edit the question text for the Respondent and Password paradata variables, so that they appear as you require.<\/p>\n<ol>\n<li>Select the Respondent question and edit the text as required.<\/li>\n<li>Repeat for the Password question.\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22920\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/192793v2b.gif\" alt=\"192793v2b\" width=\"412\" height=\"165\" \/><\/div>\n<\/li>\n<li>Click the <img loading=\"lazy\" decoding=\"async\" style=\"margin-left: 0px; margin-right: 0px; border: 0px;\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/Plus.png\" alt=\"Add button\" width=\"26\" height=\"24\" align=\"bottom\" border=\"0\" hspace=\"0\" \/> button to add any further Instructions to the questionnaire. Type any text you would like, or add an image e.g. a logo.<\/li>\n<li>Insert a pagebreak before the first survey question. (The only questions allowed on the login page are the Respondent and Password paradata questions.)\n<div><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-22919\" src=\"https:\/\/www.snapsurveys.com\/support-snap11\/wp-content\/uploads\/2016\/07\/192793v2a.gif\" alt=\"192793v2a\" width=\"462\" height=\"165\" \/><\/div>\n<\/li>\n<\/ol>\n<h3><a id=\"o19261\" name=\"o19261\"><\/a>Step 4: Publishing the questionnaire<\/h3>\n<p>Once you have set up the login page within Snap Professional you can publish the questionnaire.<\/p>\n<ol>\n<li>Select <strong>File | Publish<\/strong> or [Ctrl] [Shift] W to open the publish dialog.<\/li>\n<li>Publish the questionnaire as normal. If you wish, check the paradata to confirm that you have added them correctly.<\/li>\n<\/ol>\n<p><!-- End AuthotIT data --><\/p>\n<p>If there is a topic you would like a worksheet on, email to <a title=\"\" href=\"mailto:snapideas@snapsurveys.com\" target=\"_self\">snapideas@snapsurveys.com<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><a class=\"ninja_pages_read_more\"  href=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/\"><\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"parent":43,"menu_order":89,"comment_status":"open","ping_status":"closed","template":"page-templates\/child-page.php","meta":{"_acf_changed":false,"footnotes":""},"class_list":{"0":"post-5167","1":"page","2":"type-page","3":"status-publish","5":"search_category-support-hub"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Creating a custom login page - Snap Surveys<\/title>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a custom login page - Snap Surveys\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/\" \/>\n<meta property=\"og:site_name\" content=\"Snap Surveys\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/SnapSurveys\" \/>\n<meta property=\"article:modified_time\" content=\"2018-10-04T13:13:29+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@snapsurveys\" \/>\n<meta name=\"twitter:label1\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/\",\"name\":\"Creating a custom login page - Snap Surveys\",\"isPartOf\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\"},\"datePublished\":\"2012-10-23T15:27:33+00:00\",\"dateModified\":\"2018-10-04T13:13:29+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Worksheets\",\"item\":\"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Creating a custom login page\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.snapsurveys.com\/support-snap11\/#website\",\"url\":\"https:\/\/www.snapsurveys.com\/support-snap11\/\",\"name\":\"Snap Surveys\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.snapsurveys.com\/support-snap11\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a custom login page - Snap Surveys","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_GB","og_type":"article","og_title":"Creating a custom login page - Snap Surveys","og_url":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/","og_site_name":"Snap Surveys","article_publisher":"https:\/\/www.facebook.com\/SnapSurveys","article_modified_time":"2018-10-04T13:13:29+00:00","twitter_card":"summary_large_image","twitter_site":"@snapsurveys","twitter_misc":{"Estimated reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/","url":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/","name":"Creating a custom login page - Snap Surveys","isPartOf":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website"},"datePublished":"2012-10-23T15:27:33+00:00","dateModified":"2018-10-04T13:13:29+00:00","breadcrumb":{"@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/creating-custom-login-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.snapsurveys.com\/support-snap11\/"},{"@type":"ListItem","position":2,"name":"Worksheets","item":"https:\/\/www.snapsurveys.com\/support-snap11\/worksheets\/"},{"@type":"ListItem","position":3,"name":"Creating a custom login page"}]},{"@type":"WebSite","@id":"https:\/\/www.snapsurveys.com\/support-snap11\/#website","url":"https:\/\/www.snapsurveys.com\/support-snap11\/","name":"Snap Surveys","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.snapsurveys.com\/support-snap11\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"}]}},"_links":{"self":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/5167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/comments?post=5167"}],"version-history":[{"count":10,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/5167\/revisions"}],"predecessor-version":[{"id":26648,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/5167\/revisions\/26648"}],"up":[{"embeddable":true,"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/pages\/43"}],"wp:attachment":[{"href":"https:\/\/www.snapsurveys.com\/support-snap11\/wp-json\/wp\/v2\/media?parent=5167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}