[cookbook][form][dynamic] DataEvent is deprecated in favor of FormEvent

seems this has slipped the corrections applied elsewhere in this file.