Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get event when row loses focus #258

Closed
carlhunterroach opened this issue Mar 11, 2015 · 1 comment
Closed

How to get event when row loses focus #258

carlhunterroach opened this issue Mar 11, 2015 · 1 comment

Comments

@carlhunterroach
Copy link
Contributor

I'm adding validation to my XLForm instance.

I'd like this to happen at 3 places.

  1. a call to formValidationErrors() to check for errors before I use all the values
  2. when c() is called
    e.g., I note which field has the focus, and then when a Done button is tapped, I can tell the user that an email field is invalid
  3. there is a hole in Row value assigned too late, otherwise nil #2. if the user taps another field then formRowDescriptorValueHasChanged() isn't called until the new field's content changes.

How can I check the content of a field when the user tries to tap to another field?

Or is this a wrong approach when using XLForm?

@gclsoft
Copy link

gclsoft commented May 12, 2015

#351 How to get event XLFormRowDescriptorTypeSelectorPopover has changed select?
How did you solve it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants