Skip to content

pbRequired - cWebBaseDEO

Determines whether a value is Required for the control

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

{ WebProperty=Client }
Property Integer pbRequired
Access Type Syntax
Read Access: WebGet pbRequired to IntegerVariable
Write Access: WebSet pbRequired to IntegerVariable/Value

Description

Set pbRequired to True to enable the Required operation for this control.

pbRequired works on data bound and non-data bound controls.

The property controls a validation on the client that is performed when tabbing out of a field. This validation is executed when tabbing out of any field - data bound or not.

Valid values are True, False and C_WebDefault. When set to C_WebDefault, this property will be automatically assigned to the corresponding DataDictionary's DD_Required setting. You may explicitly set pbRequired to True or False to override the data dictionary setting.

For more information about Required see DD_Required.

About Web Properties

Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.

The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.