class Form::Sales::Questions::PreviousPostcode < ::Form::Question def initialize(id, hsh, page) super @id = "ppostcode_full" @check_answer_label = "Postcode of buyer 1’s last settled accommodation" @header = "Postcode" @type = "text" @width = 5 @inferred_check_answers_value = [{ "condition" => { "ppcodenk" => 1, }, "value" => "Not known", }] @inferred_answers = { "prevloc" => { "is_previous_la_inferred" => true, }, } @question_number = 57 end end