ittybittydude/IBAForms — Issue #15: CompleteForm:
Author: cdesch
Created: 2011-11-28 19:51:13+00:00
State: open

When completing the form, the field that was last edited (has the current edit in it (cursor, if you will)) isn't saved to the dictionary as it has not finished editing. How can do you resign the firstresponder for this field such that the setModelValue will save the value to the dictionary so it can be processed in the completeForm?

```ruby
- (void)completeEditForm:(id)sender{

//Validate

if ([self.itemModel valueForKey:@"number"] == nil || [[self.itemModel valueForKey:@"number"] isEqualToString:@""]) {
//DO SOMETHING
}
}
```