- Issue created by @Defcon0
I have the problem that the field validation isn't correctly built in Drupal, it seems. I have a field using the following configuration:
Now when I add this field to form display of some node and select no option, I get a validation error. The radio group is rendered having my 3 options (of the taxonomy vocabulary) and additionally a n/a option with the value "_none".
Selecting nothing results in a validation error (which is a bug in my opinion). Selecting a value or n/a works, no validation error anymore. *But* when selecting n/a, this special value "_none" isn't stored to database so when returning to the node edit form later on, I get the same issue again and would *everytime* have to select the n/a option.
Of course, I could make the field mandatory so that the n/a option disapears and one must select a regular option. But since it's a new field also for existing nodes (thousands), this isn't ok because then the editors would have to select an option everytime they edit something else, as well which is very annoying.
In my opinion, the validation shouldn't fail if a non-mandatory field isn't filled out. I would remove this.
Any advice is highly appreciated, I hope I described it well enough to understand ;-)
Bye
Active
9.5