// Snippet to set form values from cookies