Hi,
you cannot change/add/remove objects in your form during runtime.
The form in the PDF viewer is builded after the template you created in Designer.
This template is read only for the viewer.
But, you can place a subform in your cell that contains both fields.
With a script you then can hide one or another.