posted 17 years ago
One possible solution would be to create a new field on the form to indicate whether the field is displayed or not. For example, if you currently have a field named field1, add another boolean property named field1Displayed. Make it a hidden field on the JSP, and set it to true if the field is displayed and false if the field is not displayed. Then use the validWhen validation rule like this:
Note: This will work only to do a "required" check. If you need to check the data type of field1, or do anything more complicated than that, you will have to create your own custom validation rule in order to accomplish this.