If that is the case , you need to modify the code if you go for Java script also .
The advantage of having table is you dont have to add the code 100 times ( as you would have to do now ).
Put the code inside the loop and logic will be applied to all the fields / rows.
I hope I understood your issue correctly that function will come back tomorrow saying he wants to hide the field if value is so and so . (like we are hiding it now if value is blank ).
Thanks
Manik