You can only change the format, manually, one field at a time. However, you can set the format by running the setAction() method in the console. If your fields have a consistent numbering structure (example: "Field.1", "Field.2", "Field.3") you can run a loop in the console that changes the format of all the fields in that numbering structure. If your fields don't have structure you can select all the fields and change the Orientation to something other than zero (assuming all your field orientations are zero, then loop through all the fields in the document and test for the orientation property. If orientation matches, change the format then set the orientation back to zero.
If your fields are in rows or columns, you can delete them and recreate them with the correct format by creating one, formatting it, then using Right-Click > Create multiple copies.