Populate the input fields.