It worked, thanks so much!
How about including the div that holds the hidden fields? This is so when the fields appear, I can style the container with borders. Without hiding the container, there is an empty div with borders that does not populate until I press the calculate button.