Jeff: I realize this is an old post. However, we are having an issue with a search screen and I am hoping you can point me in the right direction.
The requirement is that when the user selects the comp_type from a drop down list, than another selection box will appear depending on what was selected. For this requirement the only additional selection boxes appear when the comp_type is supplier or subcontractor. The scripts that we are using work perfectly when using the companylongbox. However, when we try to apply the same concept to the companysearchbox. The script does not appear to work at all. Meaning that the additional selection boxes are there when the user enters the search and nothing changes when selections in the comp_type box are made.
This is the what we have in the OnChange Script area of the comp_type field..
This is what we have in the Custom Content area of the companysearchbox..
i have inspected the elements of the comp_type box and the only difference I can see between the two is that for the companylongbox the class indicates VIEWBOX and for the companysearchbox the class indicates SEARCHBODY.
Is there a different way to hide a box based on the value of another field when using a search screen?
Any assistance you can provide would be greatly appreciated.