started register interview

master
Daniel Martinez 2020-05-27 23:41:47 -04:00
parent af1dfbbe38
commit efd293beac
1 changed files with 63 additions and 0 deletions

63
interviews/register.yml Normal file
View File

@ -0,0 +1,63 @@
---
metadata:
title: DasQ Registration
short title: Register
revision_date: 2020-05-27
sessions are unique: True
---
interview help:
heading: How to use this website
content: Please create an account and contact a DasQ staff member.
---
objects:
- user: Individual
---
question: What language would you prefer? ¿Cual idioma prefieres?
field: user_language
buttons:
- English: en
- Español: es
---
question: What is your name?
fields:
- First Name: user_name_first
- Middle Name: user_name_middle
- Last Name: user_name_last
---
question: What is your address?
fields:
- Street Address: user_addr_street
- City: user_addr_city
- State: user_addr_state
---
question: How can we contact you?
fields:
- Email: user_email
- Primary Phone Number: user_phone_primary
---
mandatory: True
code: |
user.name.first
user.name.last
user.email
user.primaryphone
---
question: Here is your document.
attachment:
- name: g-1145
filename: g-1145-${ user.name.last }-${ user.name.first }
pdf template file: g-1145.pdf
template password: ""
valid formats: pdf
pdf/a: True
editable: False
language: en
fields:
- "form1[0].#subform[0].LastName[0]": ${ user.name.last }
- "form1[0].#subform[0].FirstName[0]": ${ user.name.first }
- "form1[0].#subform[0].MiddleName[0]": ${ user.name.middle }
- "form1[0].#subform[0].Email[0]": ${ user.email }
- "form1[0].#subform[0].MobilePhoneNumber[0]": ${ user.mobilephone }
mandatory: True
---