Adding custom attributes to form elements