Plugin Support
pd
(@pdclark)
I’m not sure what you mean, as the language is ambiguous.
If you’re looking for a setting which would enforce that a field value be unique compared to all other posts, there is no such option in the user interface.
To enforce unique values in a text field on save, it would need to be done with a save function which would rewrite the value to be unique. See https://docs.pods.io/code/action-reference/pods_api_post_save_item/ — it would need to change the value if found to not be unique after a query; it would not be able to cancel the save at that point.
An expected option for “single item” or “unique field” on text fields might be a misinterpretation or mis-translation of the “Repeatable: Allow multiple values” option for text field inputs or “Single Select” / “Multiple Select” for relationship fields… Both have to do with whether the field stores a single value or a list of multiple values.
If neither of these cases were what you were expecting, please open a new support query with clearer copy/paste directions of what screen you are looking at, what field you are trying to configure, what option(s) you tried, and what your expected result was.
Hi @pdclark ,
Thanks for the reply.
I solved it.
My need was to save non-duplicate records based on a field value.
Thanks!