setfocus to dynamic created field


hello

in field validation dynamic created table row focus should set same field again, if field entry invalid.

i tried following 2 versions field 'mynumber' in first row without success:

>javascript:
>1) xfa.host.setfocus("mysubform.table1.datarow.all.item(0).mynumber");
>2) xfa.host.setfocus("mysubform.table1.datarow[0].mynumber");

thank hint.
sincerely
lore

if executing script in event related same field...
xfa.host.setfocus(this.somexpression)
should work fine, out going through hassle of specific som expression.
try code , should work.

thanks,
sekharn.
www.lawson.com


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments