Conditionally hide a field based on a condition

Is it possible to hide a field based on the condition of another field?

Ex: With following fields : Address1 , Address2 , City , Town , CareOf


If “care of” is true then include the address 2 field in the data generated otherwise the field is not visible.

Not sure if you’ve figured this but just in case.

May I suggest you use lowercase first letters in your fields as it makes life easier when using Mockaroo.

Make sure your ‘careOf’ field comes before your ‘address2’ field then click the fx button for ‘address2’. Enter the code: if careOf == true then this end and that should solve the problem.

Regards
Martin