You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
679 B
26 lines
679 B
2 years ago
|
class Form::Sales::Questions::HouseholdWheelchairCheck < ::Form::Question
|
||
|
def initialize(id, hsh, page)
|
||
|
super
|
||
|
@id = "wheel_value_check"
|
||
|
@check_answer_label = "Does anyone in the household use a wheelchair?"
|
||
|
@header = "Are you sure? You said previously that somebody in household uses a wheelchair"
|
||
|
@type = "interruption_screen"
|
||
|
@page = page
|
||
|
@answer_options = {
|
||
|
"0" => { "value" => "Yes" },
|
||
|
"1" => { "value" => "No" },
|
||
|
}
|
||
|
@hidden_in_check_answers = {
|
||
|
"depends_on" => [
|
||
|
{
|
||
|
"wheel_value_check" => 0,
|
||
|
},
|
||
|
{
|
||
|
"wheel_value_check" => 1,
|
||
|
},
|
||
|
],
|
||
|
}
|
||
|
@page = page
|
||
|
end
|
||
|
end
|