Add publishing options to 'Include when sharing or publishing?'
An admin should be able to set whether or not a field should be published;
- Never (default)
- Select
- Always
'Never' means this form filed cannot be shared to an endpoint when an editor clicks on the Publish action from the Decision page.
'Select' means that the end user will be presented with the option to share each individual field before clicking on the publish action. If 'Select' is enabled in the form builder, then all publish actions should be default selected (checkbox selected) on the Decision (Evaluation in case of eLife) page.
'Always' means sharing this data to an endpoint when clicking on the publish action on the Decision page.
Acceptance criteria;
-
In the form builder, for Submission, Review and Decision forms; 'Never', 'Ad hoc (Editor decides at time of sharing/publishing)' and 'Always' should replace the 'Yes/No' radio group selection option on the 'Include when sharing or publishing?' advanced form field setting.