add options_callback for form element