You can do this by adding the following inline formula (The [Σ] button) to address and postal_code:
if suburb_id.nil?
nil
else
this
end
Just make sure that the suburb_id field comes before the other two.
You can do this by adding the following inline formula (The [Σ] button) to address and postal_code:
if suburb_id.nil?
nil
else
this
end
Just make sure that the suburb_id field comes before the other two.