You are here: Reference > Rule types > Validates > More about Validate rules

  More about Validate rules
 

  1. About 
  2. New 
  3. Validate 
  4. Input 
  5. Pages & Classes 
  6. History 
  7. More... 

This rule type lets you change the editing for input fields on an HTML form without creating a possibly complex activity. Rather than modifying an activity, you can tailor the validate rule that determines how inputs in an HTML form are edited.

Use the Obj-Validate method in an activity to reference validate rules and cause the Pega 7 Platform to run them.

Java code display

When you save a validate rule, the system converts the rule to Java source code. As a learning or debugging aid, you can review this Java code.

Click the Show Java toolbar buttonShow Java to see the system-generated Java code that implements the validate rule logic. The window presents a read-only preview of the Java that implements this rule instance. This Java code is not identical to the Java that executes at runtime, which includes Java code inlined from other rule instances and reflects rules in the requestor's ruleset list.

Validate rules and Primary pages

Related topics Obj-Validate method
Standard rules Standard validate rules

About Validate rules