I've recently updated my custom FieldData article to fix some bugs from user feedback, clean up the code, and add unit tests. You can get the new content at the same place:
http://www.jasonbock.net/JB/Default.aspx?blog=entry.9cc70d85bef34e2b9a683ba82615f8a3
Regards,
Jason Bock
Copyright (c) Marimer LLC