You can create a Local Plugin for your case and add a custom field to it.
Read: Creating a new Field in the administration panel
Watch: Video
You can add the validation part there, to the onChange handler.
You can create a Local Plugin for your case and add a custom field to it.
Read: Creating a new Field in the administration panel
Watch: Video
You can add the validation part there, to the onChange handler.