Field is unique
User enters content in the field on the add page
Module finds completed field is duplicate/not unique
Notification displays next to field that content is not unique
Ideally, we could define the notification message via Admin as the notification should be unique to the purpose of the field.
Robust AJAX checking of all the things in all the ways that Unique Field does was beyond my time right now (and in the forseeable future) but here is a custom module that piggybacks on Unique Field and steals most of its other code from username_checkUsername Check to check if the title already exists within a given node type.
It is dead simple to modify for use for other content types (edit the array that holds "effect" in our example) and pretty easy to apply to different fields. Agaric is interested in helping generalize it and seeing about better integration with Unique Field– our next need will be checking Link fields for existing links with AJAX, complicated by the possibility of these links being filled in already by prepopulate and a bookmarklet...)
#1
I also have a need for this :
Field is unique
User enters content in the field on the add page
Module finds completed field is duplicate/not unique
Notification displays next to field that content is not unique
Ideally, we could define the notification message via Admin as the notification should be unique to the purpose of the field.
#2
Subscribing...
#3
Very nice module, congratz..
Would be very nice if this would warn the users as described above but with the option of letting them continue.
#4
Robust AJAX checking of all the things in all the ways that Unique Field does was beyond my time right now (and in the forseeable future) but here is a custom module that piggybacks on Unique Field and steals most of its other code from username_checkUsername Check to check if the title already exists within a given node type.
Download Unique Field AJAX from our notes site.
It is dead simple to modify for use for other content types (edit the array that holds "effect" in our example) and pretty easy to apply to different fields. Agaric is interested in helping generalize it and seeing about better integration with Unique Field– our next need will be checking Link fields for existing links with AJAX, complicated by the possibility of these links being filled in already by prepopulate and a bookmarklet...)
benjamin, agaric