Validation rules for single attributes trigger full-screen validation - Identity Manager
search cancel

Validation rules for single attributes trigger full-screen validation - Identity Manager

book

Article ID: 135608

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

When a checkbox or field attribute uses validation JavaScript with the 'Validate On Change' option enabled, the Identity Manager interface performs validation on all fields within the current tab.

This behavior occurs because the product design triggers a refresh of all associated validation rules upon any field change.

Environment

Identity Manager 14.5

Cause

The 'Validate On Change' feature is designed to ensure data consistency across a task screen. When enabled for any single field, the application validates every attribute on that tab that has an associated validation rule, preventing targeted execution for only one attribute.

Resolution

To limit validation to specific interactions, consider the following alternatives:

  • Profile Screen Level Validation: Move validation logic from the individual field to the profile screen level.
  • Initialization JavaScript: Use Initialization JavaScript instead of Validation JavaScript to manage field visibility.
  • Manual Tab Navigation: Disable 'Validate On Change' to allow fields to show or hide only when the user switches tabs, which naturally triggers a screen refresh.

Additional Information

To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.