Is there a way to define a field formatter in Specify v7.9.6.2 that optionally ends with a final letter, e.g. ACC/10001 A, where 10001 is incrementing and the added space and uppercase letter must be unique for the incremented number if it exists?
In this case it is for accessions, but we may also need this for loans.
This approach will only work in Specify 7 (not 6), so when managing your Accession data, you will need to use that platform.
In your “Field Formatters” (UIFormatters) app resource for the collection/discipline, you can configure a format like the one you’ve described here:
After this is set, you should see ACC/#####( [A-Za-z])? shown in the preview for the field. Now you can enter ACC/10001 A and it will be valid! It will also increment based on your postfix.
To make this look much nicer and be easier for the user, you can update the Accession view definition so that it uses the appropriate default (add default="ACC/#####" to the field):