Quote Originally Posted by Allbus View Post
But findField() has the same result of getCmp()
That's because you gave the field an ID. I haven't buil;t in support for ID's. Remove it , use findField with name = 'demo2' and problem fixed.
Quote Originally Posted by Allbus View Post
The point is that form.getValues() doesn't call getValue() on each field.
use form.getFieldValues() then..