devinsays/options-framework-plugin — pull request #132 by pryley (2012-12-01 00:32:28+00:00)
Title: Added a hook to allow you to do custom validation of options during save

For example, suppose I am implementing Facebook Connect in my theme and using Options Framework to store the App ID/Secret, this hook allows me to verify that the Facebook App ID/Secret entered in the options are correct, and if not, alert the user and prevent the Facebook API scripts from loading.

Demo code here: https://gist.github.com/4179688