Value in one Field Depends on Value of another

I have a Field1 that has 2 options. Depending on what is chosen for Field1, Field2 diplays a list of Names. I am having a problem with that. It seems that if I make a choice and Field2 shows the list and I go back and change the value of Field1, Field2 will continue to show the list from before. How can I remedy this?

Subject: Value in one Field Depends on Value of another

Assuming that Field1 is either a dialog list, radio button, checkbox, listbox, or combobox, you should set the properties for Field1 to “Refresh field on keyword change”.

Field2 should conversely have the property set to “Refresh choices on document refresh”.

Subject: RE: Value in one Field Depends on Value of another

I actually have that, but when I switch the value in Field1 then Field2 still holds the value from before. Is there a way to have Field2 be blank when the option for Field1 is changed

Subject: RE: Value in one Field Depends on Value of another

If Field2 has any of the same choices selected that are available in either of the choice lists dependent on Field1, then those choices will remain selected even after it recomputes. So, you need to force the field to clear. You can do this by:

  1. Create a computed for display field named vField1 that is located down and/or to the right of Field1 on the form and make this field’s computed value be simply:

Field1

  1. Set the translation formula for Field1 to:

FIELD Field2 := Field2;

@If(

!(Field1 = vField1);

@Setfield(“Field2”; “”);

“”

);

Field1