:: Forum >>

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
Friday, July 13, 2007
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)
Friday, July 13, 2007
Thanks, works like a dream.
Flaffer
Friday, July 13, 2007

This topic is archived.


Back to support forum

Forum search