Dynamic form rules: QBL v0.7

Prev Next

This article contains information about a QBL (Quickbase language) object. QBL objects are the supported Quickbase schema elements you see textually represented in the YAML file generated by Quickbase when you export a solution. Each object has associated properties. Supported schema may differ by QBL version.

The following table lists information about the properties of this object. 

Form rule

Property Name

Required

Default

Allowed Values

Name

False

""

Any string

TrueWhen

True

 

One of: Any, All

Description

False

""

Any string

Disabled

False

False

true or false

FireOnlyOnChange

False

True

true or false

RunOn

True

 

One of: RecordOpenForEdit, RecordSave, RecordSaveAfterValidating, RecordOpenSaveOrChange

Tags

False

[]

Array of items of type: Any string

Form rule action: Abort save

Property Name

Required

Default

Allowed Values

Message

False

""

Any string

Form rule action: Change

Property Name

Required

Default

Allowed Values

Field

True

 

 

Value

False

""

Any string

Form rule action: Display message

Property Name

Required

Default

Allowed Values

Message

False

""

Any string

MessageLevel

False

Info

One of: Info, Success, Warning, Error

MessageType

True

 

One of: Modal, Notification, Field

FieldTarget

False

""

References: Field
Scope: QB::Table
Any string

Form rule action: Hide

Property Name

Required

Default

Allowed Values

Target

False

""

References:
1. QB::FormV2::Column - Scope: QB::FormV2
2. QB::FormV2::Section - Scope: QB::FormV2
3. QB::FormV2::Page - Scope: QB::FormV2
4. QB::FormV2::Element::Report - Scope: QB::FormV2
5. QB::FormV2::Element::RichText - Scope: QB::FormV2
6. Field - Scope: QB::Table
Any string

Form rule action: Make editable

Property Name

Required

Default

Allowed Values

Target

False

""

References:
1. QB::FormV2::Column - Scope: QB::FormV2
2. QB::FormV2::Section - Scope: QB::FormV2
3. QB::FormV2::Page - Scope: QB::FormV2
4. QB::FormV2::Element::Report - Scope: QB::FormV2
5. QB::FormV2::Element::RichText - Scope: QB::FormV2
6. Field - Scope: QB::Table
Any string

Form rule action: Make read only

Property Name

Required

Default

Allowed Values

Target

False

""

References:
1. QB::FormV2::Column - Scope: QB::FormV2
2. QB::FormV2::Section - Scope: QB::FormV2
3. QB::FormV2::Page - Scope: QB::FormV2
4. QB::FormV2::Element::Report - Scope: QB::FormV2
5. QB::FormV2::Element::RichText - Scope: QB::FormV2
6. Field - Scope: QB::Table
Any string

Form rule action: Require

Property Name

Required

Default

Allowed Values

Target

False

""

References:
1. QB::FormV2::Column - Scope: QB::FormV2
2. QB::FormV2::Section - Scope: QB::FormV2
3. QB::FormV2::Page - Scope: QB::FormV2
4. QB::FormV2::Element::Report - Scope: QB::FormV2
5. QB::FormV2::Element::RichText - Scope: QB::FormV2
6. Field - Scope: QB::Table
Any string

Form rule action: Set color

Property Name

Required

Default

Allowed Values

Color

False

""

Any string

Target

False

""

References: QB::FormV2::Column - Scope: QB::FormV2
Any string

Form rule action: Set label

Property Name

Required

Default

Allowed Values

Target

False

""

References:
1. QB::FormV2::Column - Scope: QB::FormV2
2. QB::FormV2::Section - Scope: QB::FormV2
3. QB::FormV2::Page - Scope: QB::FormV2
4. QB::FormV2::Element::Report - Scope: QB::FormV2
5. QB::FormV2::Element::RichText - Scope: QB::FormV2
6. Field - Scope: QB::Table
Any string

Label

False

""

Any string

Form rule action: Show

Property Name

Required

Default

Allowed Values

Target

False

""

References:
1. QB::FormV2::Column - Scope: QB::FormV2
2. QB::FormV2::Section - Scope: QB::FormV2
3. QB::FormV2::Page - Scope: QB::FormV2
4. QB::FormV2::Element::Report - Scope: QB::FormV2
5. QB::FormV2::Element::RichText - Scope: QB::FormV2
6. Field - Scope: QB::Table
Any string

Form rule action: Unrequire

Property Name

Required

Default

Allowed Values

Target

False

""

References:
1. QB::FormV2::Column - Scope: QB::FormV2
2. QB::FormV2::Section - Scope: QB::FormV2
3. QB::FormV2::Page - Scope: QB::FormV2
4. QB::FormV2::Element::Report - Scope: QB::FormV2
5. QB::FormV2::Element::RichText - Scope: QB::FormV2
6. Field - Scope: QB::Table
Any string

Form rule condition: Days ago

Property Name

Required

Default

Allowed Values

Field

True

 

Any value

Comparison

True

 

One of: IsEqualTo, IsNotEqualTo, IsDuring, IsNotDuring, After, Before, OnOrAfter, OnOrBefore

DaysAgo

True

 

Any integer

Form rule condition: Field

Property Name

Required

Default

Allowed Values

Field

True

 

Any value

Comparison

True

 

One of: None, IsEqualTo, IsNotEqualTo, IsLessThan, IsLessThanOrEqualTo, IsGreaterThan, IsGreaterThanOrEqualTo, IsDuring, IsNotDuring, After, Before, OnOrAfter, OnOrBefore, Contains, DoesNotContain, StartsWith, HasTrueValue, DoesNotHaveTrueValue, DoesNotStartWith, ContainsWord, ContainsWordThatStartsWith, Includes, DoesNotInclude

Value

False

""

Any string

Form rule condition: Formula is true

Property Name

Required

Default

Allowed Values

Formula

True

 

Any string

Form rule condition: Group

Property Name

Required

Default

Allowed Values

TrueWhen

True

 

One of: Any, All

Form rule condition: Range

Property Name

Required

Default

Allowed Values

Field

True

 

 

Comparison

True

 

One of: IsEqualTo, IsNotEqualTo, IsDuring, IsNotDuring, After, Before, OnOrAfter, OnOrBefore

RelativeTo

True

 

One of: This, Next, Last

Range

False

0

Any integer

TimeFrame

True

 

One of: Day, Week, Month, Quarter, Year, FiscalYear, FiscalQuarter

Form rule condition: Relative

Property Name

Required

Default

Allowed Values

Field

True

 

 

Comparison

True

 

One of: IsEqualTo, IsNotEqualTo, IsDuring, IsNotDuring, After, Before, OnOrAfter, OnOrBefore

RelativeTo

True

 

One of: Today, Tomorrow, Yesterday

Form rule condition: Role

Property Name

Required

Default

Allowed Values

Comparison

True

 

One of: IsInRole, IsNotInRole

Role

True