Skip to content

Commit 6769777

Browse files
Merge pull request #581 from SuffolkLITLab/document-al_person_answering
Define al_person_answering
2 parents bcf27e5 + e17f435 commit 6769777

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

docs/components/AssemblyLine/magic_variables.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,30 @@ Valid values:
353353
- Letter: `'letter'`
354354
- Other: `'other'`
355355

356+
### `al_person_answering`
357+
358+
Defines who is sitting in front of the screen--for example: the user or an attorney.
359+
360+
Defaults to `"user"`.
361+
362+
When the value is not `"user"`, will update the text in some questions in `ql_baseline.yml` so
363+
that they say `${ users[0] }` instead of "you".
364+
365+
If you want to let the person sitting in front of the computer answer to say who they are, you
366+
need to add your own question. For example:
367+
368+
```yaml
369+
id: who is using this form
370+
question: |
371+
Are you filling this out for yourself, or someone else?
372+
fields:
373+
- I am filling this out for: al_person_answering
374+
datatype: radio
375+
choices:
376+
- Myself: user
377+
- As an attorney for someone else: attorney
378+
```
379+
356380
### `github_repo_name`
357381

358382
Set this value to the name of the interview's GitHub repository, without the

0 commit comments

Comments
 (0)