please see the attached screen shot. what i have is a dynamic site which pulls values into a text box. it's integrated with opentext livelink web forms 9.7.2, which doesn't matter, we can generalize everything.
if a null value is detected within the PERSON text box, then i'd like the whole table hidden from view when the user clicks 'Remove Empty Fields'.
i've highlighted tables in orange on the screenshot. i didn't highlight them all, but you get the idea.
the website loads and content will automatically populate the text boxes (just not all text boxes)
the website will have a button that the user clicks
this button will wipe all tables when a null value is detected within the PERSON text box
once wiped, the user has a nice clean form they can print > this form is used to approve high dollar projects.
so i have 13 tables which each contain a PERSON text box:
Reviewer1Table (text box _1_1_22_1_Name)
Reviewer2Table (text box _1_1_25_1_Name)
Reviewer3Table (text box _1_1_28_1_Name)
Reviewer4Table (text box _1_1_31_1_Name)
Reviewer5Table (text box _1_1_34_1_Name)
Manager1Table (text box _1_1_12_1_Name)
Manager2Table (text box _1_1_16_1_Name)
TechAssuranceTable (text box _1_1_20_1_Name)
etc. etc. etc
the logic i'm thinking when the button is pressed:
IF _1_1_22_1_Name = null THEN hide Reviewer1Table
i need this function to scan all 13 text boxes
i already have a submit button with a doSubmit function - i can't conflict the two buttons, right?