
I'm trying to turn on/off a check box and have it hide/unhide a group of controls.
This is what I have:
Code: Select all
if hilite of button "Work_International_Check" is true then
set the Visible of Field "International_Work_Address" to true
set the visible of button "Work_Countries" to true
set the visible of field "Work_Address" to false
set the visible of field "Work_Address2" to false
set the visible of field "Work_City" to false
set the visible of button "Work_State" to false
set the visible of field "work_zipcode " to false
set the visible of field "work_address_label" to false
set the visible of field "work_Address2_label" to false
set the visible of field "work_city_label" to false
set the visible of field "work_state_label" to false
set the visible of field "work_state_zip" to false
end if
button "Work_International_Check": execution error at line 9 (Chunk: no such object) near "work_zipcode ", char 24
Work_State is a combo box button and work_zipcode is a field. I've checked both of those.
I'm assuming it has to do with the button, and I'm not sure what I'm doing wrong. Any help would be great!
Thanks!
- Noel