Commit b6d9ded9 authored by plirof2's avatar plirof2 Committed by GitHub

Update README.md

parent ee91d349
......@@ -6,3 +6,27 @@ access the results).
depends on References module : "https://www.drupal.org/project/references" (for user reference field)
## Instructions:
##### 0. Preparation:
- Clear Drupal cache (just to be on the safe side)
- Download install and activate this module : https://www.drupal.org/project/references
- Download install this module from github (don't activate it yet): https://github.com/plirof2/drupal7_webform_results_access
##### 1. Add a new field to the webform:
Go to webform manage fields (eg http://mydrupalsite/subpath/admin/structure/types/manage/webform/fields ) and
- add a **new field** to the webform named : "**webform_results_access**" .
- the field type should be "User reference" (you need the References module activated (https://www.drupal.org/project/references) )
- The graphic component should be "**Autocomplete text field**"
- The machine name should be "field_webform_results_access" (this is the default value so no need to change it)
#### 2.Set some settings for this field:
- Go to http://mydrupalsite/subpath/admin/structure/types/manage/webform/fields/field_webform_results_access
- select "**number of values**"/"Αριθμός τιμών" to "**Unlimited**" (we want to be able to add unlimited users to view results)
- from the option "**User roles that can be referenced**" select a user group - usually "registered-authanticated users"/"πιστοποιημένος χρήστης"
- Maybe you want to restrict visibility and permission from the option "**Field visibility and permissions**".
#### 3. Activate module
- Clear Drupal cache (just to be on the safe side)
- Activate module drupal7_webform_results_access
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment