These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Suppressing Auto-complete

BobGordon
Registered: Oct 6 2009
Posts: 2
Answered

Hello.

A project has been dumped in my lap. Business has a couple of forms intended for online (not web) entry. Must have auto-complete turned off.

One form is in Acrobat Professional, and I have succeeded in putting in code that turns off auto-complete.

The other form is in Designer. I think I know what to do (that is, the lines of Javascript to add). The problem is that I can't figure out where to put them. All the Javascript in Designer seems to be attached to a field. This would seem to be attached to the form as a whole.

Questions: Is there a place to look for Javascript help in Designer that would explain what to do? Or, if someone has done this, could they tell me where to put it? (I'd prefer an answer to the first question as that would be better for the project).

Why the business has forms built in each environment appears to be an historical accident.

Thank you.

-Bob

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
If you use JavaScript, you can put a small JavaScript into the form:ready event of one form element of the LiveCycle form.
It's not neccessary to put the script to a field.
You also can select the root form from the hierachy tree and put the script in there.

form1::ready:form - (JavaScript, client)event.target.noautocomplete = true;

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs