Closed
Description
The form events chapter just underwent a big addition and facelift in #1842 and #2417. But, it's still not quite right. Here are the needed changes:
- Simplify the first example - a subscriber is overkill, a listener is easier, and a callback is probably the best approach
- We need to document every form event and its purpose, what its data is, etc
- Both the FriendMessage and SportsMeetup examples aren't really completed. They leave out more detail than I like and so aren't copy-and-pastable. This is especially true of SportsMeetup, where I ran out of steam to keep going :). Ideally, all three examples would be more consistent - building up on the same example, not three different examples.
- I think we need to spend some time on the AJAX experience that's so common when you have one form field that depends on another (i.e. user selects "Country", AJAX request is made to update the "State" field).