|
|
## What it does :spiral_note_pad:
|
|
|
Allows the results to be shared publicly if the author selected the corresponding option on form creation, with the option shown below :
|
|
|
|
|
|
![image](uploads/733724fcb01c56c90433d76146cdd754/image.png)
|
|
|
|
|
|
All users accessing the form will then be able to see the results, through the tab shown under the node title :
|
|
|
|
|
|
![image](uploads/12e76bd317efce22b69c233c12282f6a/image.png)
|
|
|
|
|
|
## How it does it :gear:
|
|
|
Does two things :
|
|
|
* the callback `yakforms_public_results_user_has_access()` : this gives access to "Public submission" to all users if the "Public access" was ."Public submission" is a Drupal View, which shows all submissions to the current webform.
|
|
|
* an action through `yakforms_public_results_webform_submission_actions()` (implements `hook_webform_submission_actions`) : provides a button to go back to the result table when accessing one particular submissions, as shown below :
|
|
|
|
|
|
![image](uploads/59d396f3d95f2151fde0658f8585f7f7/image.png) |