Needs review
Project:
Username originality AJAX check
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2012 at 04:03 UTC
Updated:
24 Feb 2013 at 22:52 UTC
Other people seem to be looking for this function also on fields, so I thought I'd add what worked for me. I'm not a programmer so use at your own judgement.
See the attached files -- it's the same pattern as the base module, just modified for a field value (should be easy to follow the pattern for your field_name).
I have some extra validation in the unique.inc file - just delete it if you don't want it (remember to take out the call to the function higher up in the file too).
HUGE thank you to ardas for this module!
| Comment | File | Size | Author |
|---|---|---|---|
| custom_field_check.zip | 14.42 KB | hellomobe |
Comments
Comment #1
jasom commentedThis may be interested for you: https://drupal.org/node/1926346 - it is an issue for
Unique field