How to set predefined values to a form?