I have a form with a lot of fields that are shown dependent on the value of another value. When I'm on the last visible field (for clarity I call it field X), I have normally already scrolled down in the form (so it has a scrollbar).
I then set the value field X so that two fields below it (field Y and Z) will be shown. However, these fields are not visible without scrolling down. Although the scrollbar indicates there's extra scroll space, it's not very obvious to the user that fields Y and Z exist. Since they are also not required, saving the form will no cause an error on these fields (I have the save button in a tool bar above the form).
I've tried to give focus to field Y in the changed() event of field X, but this probably doesn't work since field Y isn't yet drawn (at least, that's what I expect). I have set redrawOnChange to true on field X so fields are shown, but out of sight.
My question is, is there a way to scroll down at a certain point?
I then set the value field X so that two fields below it (field Y and Z) will be shown. However, these fields are not visible without scrolling down. Although the scrollbar indicates there's extra scroll space, it's not very obvious to the user that fields Y and Z exist. Since they are also not required, saving the form will no cause an error on these fields (I have the save button in a tool bar above the form).
I've tried to give focus to field Y in the changed() event of field X, but this probably doesn't work since field Y isn't yet drawn (at least, that's what I expect). I have set redrawOnChange to true on field X so fields are shown, but out of sight.
My question is, is there a way to scroll down at a certain point?