Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- titre_de_l_initiative_de_projet_:
- '#type': webform_computed_token
- '#title': 'Titre de l''initiative de projet :'
- '#title_display': inline
- '#label_attributes':
- style: 'margin-left:30px;font-weight:bold;'
- '#access_create_roles':
- - administrator
- - copp
- - administrateur_du_copp
- '#value': '[webform_submission:values:term_test:text]'
- '#hide_empty': true
- '#ajax': true
- type:
- '#type': webform_computed_token
- '#title': Type
- '#value': '[webform_submission:values:term_test:parent:name]'
- '#hide_empty': true
- '#ajax': true
- test_ef1:
- '#type': webform_computed_twig
- '#title': test_EF1
- '#value': '{{ data.term_test.field_type_target_id}}'
- '#store': true
- test_ef:
- '#type': webform_computed_twig
- '#title': test_EF
- '#value': '{{ data.term_test.field_type}}'
- '#store': true
- generalites:
- '#type': webform_wizard_page
- '#title': Généralités
- '#open': true
- term_test:
- '#type': webform_term_select
- '#title': 'Term test'
- '#vocabulary': copp
- '#breadcrumb': true
- '#tree_delimiter': ''
- etude_de_faisabilite:
- '#type': checkbox
- '#title': 'Étude de faisabilité'
- '#states':
- visible:
- ':input[name="type"]':
- value: 'Étude de faisabilité'
- checked:
- ':input[name="type"]':
- value: 'Étude de faisabilité'
- disabled:
- ':input[name="type"]':
- value: 'Étude de faisabilité'
- '#wrapper_attributes':
- style: 'margin-left:30px'
- benefices:
- '#type': webform_wizard_page
- '#title': 'Bénéfices (20%)'
- benefices_non_monetaires:
- '#type': radios
- '#title': 'Bénéfices non monétaires (5%) : '
- '#title_display': inline
- '#description_display': before
- '#options':
- 5: 'Très important -- 5 points'
- 4: 'Important -- 4 points'
- 2: 'Moyen -- 2 points'
- 1: 'Léger -- 1 point'
- 0: 'Très léger ou nul -- 0 point'
- '#options_description_display': help
- '#states':
- invisible:
- ':input[name="type"]':
- value: 'Étude de faisabilité'
- required:
- ':input[name="type"]':
- '!value': 'Étude de faisabilité'
- '#attributes':
- style: 'margin-left:30px;'
- test_benef_nm:
- '#type': webform_likert
- '#title': 'Bénéfices non monétaires (20%)'
- '#title_display': before
- '#description_display': after
- '#states':
- required:
- ':input[name="etude_de_faisabilite"]':
- checked: true
- '#wrapper_attributes':
- style: 'margin-left:30px;'
- '#questions':
- 1: 'Optimisation de processus organisationnels'
- 2: 'Fiabilité accrue des données'
- 3: 'Question 3'
- 4: 'Question 4'
- '#answers':
- 1: Oui
- 0: Non
Add Comment
Please, Sign In to add comment