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

CLEAR form does not clear a programatically populated combo field

robbynne
Registered: Jul 18 2010
Posts: 4

I used Thomas Parker's example to populate the contents of a combo field based on the value of a previously entered field.

I got it to work (not easily).

However, when I select Clear Form from the Forms drop down menu, ONLY the programatically populated field DOES NOT clear.

Any thoughts? I am using AcrobatPro 9 (and pretty much a novice).

Thanks in advance.

My Product Information:
Acrobat Pro 9.3.1, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Have you kept an unmodified copy of the form?

The example clears properly. You need a no selection option like a blank line, actually a selection with a space character. The keystroke script for the combo box clears the populated form when the combo box selection is at the blank line. Also there is an option to immediately commit the value of the combo box.

George Kaiser

robbynne
Registered: Jul 18 2010
Posts: 4
The field which controls the programmatic population of the 2nd field is REQUIRED. A choice must be made between "value1" and "value2". There is no "blank" field allowed.
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Form developed in Acrobat allow for a blank entry.

This forum is for forms created with Acrobat. There is a Forms: LiveCycle Designer forum for forms developed in LiveCycle Designer.

The basic logic for when no selection has been made would still apply. You have to have a non-selection option and when that choice is made or it is set to, the other forms are cleared by a reset command, cleared by placing null entries for the the other fields or individually clearing each field with a null entry.

George Kaiser

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Here is the link to an article about programing this in Acrobat and LiveCycle Designer.

[url=http://www.acrobatusers.com/tutorials/2007/js_list_combo_livecycle]Programming List and Combo fields in Acrobat and LiveCycle forms - Part 1[/url] by Thom Parker.

George Kaiser