preprocess list in select option for forms