3.2.0

Auto next input

Hi,

I have a form where some fields sometimes almost all are set to not editable.
I want to make it easier for the user to key in information and therefore want the application to skip non editable input’s and to jump between only editable.

It is not possible for me to use something else than input’s as the page is dynamical and the fields changes readonly state with the data.

Is there a solution to skip the not editable fields, I use the following code to inactivate editing:
field<%=CStr(Fieldarr(0,FieldNumber))%>.getContent('box/text').setAttribute('readonly',true);

Thanks,
Flaffer
July 13,
You can use controlDisabled property (new in AW 2.0.2) -

obj.setControlDisabled(true);

It prevents editing and also disables tab stop and mouse selection.
Alex (ActiveWidgets)
July 13,
Thanks, works like a dream.
Flaffer
July 13,

This topic is archived.

See also:


Back to support forum