Guest User

Untitled

a guest
Nov 16th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 KB | None | 0 0
  1. titre_de_l_initiative_de_projet_:
  2. '#type': webform_computed_token
  3. '#title': 'Titre de l''initiative de projet :'
  4. '#title_display': inline
  5. '#label_attributes':
  6. style: 'margin-left:30px;font-weight:bold;'
  7. '#access_create_roles':
  8. - administrator
  9. - copp
  10. - administrateur_du_copp
  11. '#value': '[webform_submission:values:term_test:text]'
  12. '#hide_empty': true
  13. '#ajax': true
  14. type:
  15. '#type': webform_computed_token
  16. '#title': Type
  17. '#value': '[webform_submission:values:term_test:parent:name]'
  18. '#hide_empty': true
  19. '#ajax': true
  20. test_ef1:
  21. '#type': webform_computed_twig
  22. '#title': test_EF1
  23. '#value': '{{ data.term_test.field_type_target_id}}'
  24. '#store': true
  25. test_ef:
  26. '#type': webform_computed_twig
  27. '#title': test_EF
  28. '#value': '{{ data.term_test.field_type}}'
  29. '#store': true
  30. generalites:
  31. '#type': webform_wizard_page
  32. '#title': Généralités
  33. '#open': true
  34. term_test:
  35. '#type': webform_term_select
  36. '#title': 'Term test'
  37. '#vocabulary': copp
  38. '#breadcrumb': true
  39. '#tree_delimiter': ''
  40. etude_de_faisabilite:
  41. '#type': checkbox
  42. '#title': 'Étude de faisabilité'
  43. '#states':
  44. visible:
  45. ':input[name="type"]':
  46. value: 'Étude de faisabilité'
  47. checked:
  48. ':input[name="type"]':
  49. value: 'Étude de faisabilité'
  50. disabled:
  51. ':input[name="type"]':
  52. value: 'Étude de faisabilité'
  53. '#wrapper_attributes':
  54. style: 'margin-left:30px'
  55. benefices:
  56. '#type': webform_wizard_page
  57. '#title': 'Bénéfices (20%)'
  58. benefices_non_monetaires:
  59. '#type': radios
  60. '#title': 'Bénéfices non monétaires (5%) : '
  61. '#title_display': inline
  62. '#description_display': before
  63. '#options':
  64. 5: 'Très important -- 5 points'
  65. 4: 'Important -- 4 points'
  66. 2: 'Moyen -- 2 points'
  67. 1: 'Léger -- 1 point'
  68. 0: 'Très léger ou nul -- 0 point'
  69. '#options_description_display': help
  70. '#states':
  71. invisible:
  72. ':input[name="type"]':
  73. value: 'Étude de faisabilité'
  74. required:
  75. ':input[name="type"]':
  76. '!value': 'Étude de faisabilité'
  77. '#attributes':
  78. style: 'margin-left:30px;'
  79. test_benef_nm:
  80. '#type': webform_likert
  81. '#title': 'Bénéfices non monétaires (20%)'
  82. '#title_display': before
  83. '#description_display': after
  84. '#states':
  85. required:
  86. ':input[name="etude_de_faisabilite"]':
  87. checked: true
  88. '#wrapper_attributes':
  89. style: 'margin-left:30px;'
  90. '#questions':
  91. 1: 'Optimisation de processus organisationnels'
  92. 2: 'Fiabilité accrue des données'
  93. 3: 'Question 3'
  94. 4: 'Question 4'
  95. '#answers':
  96. 1: Oui
  97. 0: Non
Add Comment
Please, Sign In to add comment