Focus on opening

Avatar

Avatar

SciMax

Avatar

SciMax

SciMax

27-05-2009

Is it possible to automatically focus on a specific field when a LiveCycle PDF is opened? 

If yes, what script or formcalc and event type should I use?   And last, where do I put the event on the hierarchy?

I tried to put the following script in the first subForm on the body page 1 level.  Please note the object I want to focus on is part of a fragment.

xfa.host.setFocus("DeptDiv.ddlCityDept");

But I was blocked from doing so.  I get this error message and the entire Script Editor window was greyed out.

"The script is not editable because the Script Editor contains script that is in a fragment."

Any assistance would be really appreciated.

Thanks.

View Entire Topic

Avatar

Avatar

SciMax

Avatar

SciMax

SciMax

01-06-2009

Thanks everyone for your invaluable assistance.   I've got my form up and running, and the form owner is ecstatic with the end product.