What are the names of the 7 text fields? For the picture, are you using a button to display it, or something else? If a button, what is its name?
You may have no choice. One cannot just cut and paste custom scripts since there are any number of things that need to be changed to match the form into which the script is being copied.
See the following tutorial:
Disabling (graying-out) Form Fields by Thom Parker
You will need to change the field names to match your form.
The text fields are "heading1" which has text in. 3 text fields "height1" "height2" and ""height3". The other 3 "shelf1" "shelf2" "shelf3"
The picture is just an inserted picture object there seems to be no means of naming it but the properties of it allow script to be entered as an action and I presume it can be linked to one of the check boxes.
Perhaps I should add that I am using PDfill which has to be saved to adobe to actually see what the effect of the action script is.