Dynamic form rules: QBL v0.15

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

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

Required

Default

Allowed Values

Message

False

""

Any string

Form rule action: Change

Property

Required

Default

Allowed Values

Field

True

-

Reference to Field

Value

False

""

Reference to Field
Any string

Form rule action: Display message

Property

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

Required

Default

Allowed Values

Target

False

""

References: QB::FormV2::Column (Scope: QB::FormV2), QB::FormV2::Section (Scope: QB::FormV2), QB::FormV2::Page (Scope: QB::FormV2), QB::FormV2::Element::Report (Scope: QB::FormV2), QB::FormV2::Element::RichText (Scope: QB::FormV2), Field (Scope: QB::Table)
Any string

Form rule action: Make editable

Property

Required

Default

Allowed Values

Target

False

""

References: QB::FormV2::Column (Scope: QB::FormV2), QB::FormV2::Section (Scope: QB::FormV2), QB::FormV2::Page (Scope: QB::FormV2), QB::FormV2::Element::Report (Scope: QB::FormV2), QB::FormV2::Element::RichText (Scope: QB::FormV2), Field (Scope: QB::Table)
Any string

Form rule action: Make read-only

Property

Required

Default

Allowed Values

Target

False

""

References: QB::FormV2::Column (Scope: QB::FormV2), QB::FormV2::Section (Scope: QB::FormV2), QB::FormV2::Page (Scope: QB::FormV2), QB::FormV2::Element::Report (Scope: QB::FormV2), QB::FormV2::Element::RichText (Scope: QB::FormV2), Field (Scope: QB::Table)
Any string

Form rule action: Require

Property

Required

Default

Allowed Values

Target

False

""

References: QB::FormV2::Column (Scope: QB::FormV2), QB::FormV2::Section (Scope: QB::FormV2), QB::FormV2::Page (Scope: QB::FormV2), QB::FormV2::Element::Report (Scope: QB::FormV2), QB::FormV2::Element::RichText (Scope: QB::FormV2), Field (Scope: QB::Table)
Any string

Form rule action: Set color

Property

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

Required

Default

Allowed Values

Target

False

""

References: QB::FormV2::Column (Scope: QB::FormV2), QB::FormV2::Section (Scope: QB::FormV2), QB::FormV2::Page (Scope: QB::FormV2), QB::FormV2::Element::Report (Scope: QB::FormV2), QB::FormV2::Element::RichText (Scope: QB::FormV2), Field (Scope: QB::Table)
Any string

Label

False

""

Any string

Form rule action: Show

Property

Required

Default

Allowed Values

Target

False

""

References: QB::FormV2::Column (Scope: QB::FormV2), QB::FormV2::Section (Scope: QB::FormV2), QB::FormV2::Page (Scope: QB::FormV2), QB::FormV2::Element::Report (Scope: QB::FormV2), QB::FormV2::Element::RichText (Scope: QB::FormV2), Field (Scope: QB::Table)
Any string

Form rule action: Unrequire

Property

Required

Default

Allowed Values

Target

False

""

References: QB::FormV2::Column (Scope: QB::FormV2), QB::FormV2::Section (Scope: QB::FormV2), QB::FormV2::Page (Scope: QB::FormV2), QB::FormV2::Element::Report (Scope: QB::FormV2), QB::FormV2::Element::RichText (Scope: QB::FormV2), Field (Scope: QB::Table)
Any string

Form rule condition: Days ago

Property

Required

Default

Allowed Values

Field

True

-

Reference to Field

Comparison

True

-

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

DaysAgo

True

-

Any integer

Form rule condition: Field

Property

Required

Default

Allowed Values

Field

True

-

Reference to Field

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
Reference to Field

Form rule condition: Formula is true

Property

Required

Default

Allowed Values

Formula

True

-

Any string

Form rule condition: Group

Property

Required

Default

Allowed Values

TrueWhen

True

-

One of: Any, All

Form rule condition: Range

Property

Required

Default

Allowed Values

Field

True

-

Reference to Field

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

Required

Default

Allowed Values

Field

True

-

Reference to Field

Comparison

True

-

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

RelativeTo

True

-

One of: Today, Tomorrow, Yesterday

Form rule condition: Role

Property

Required

Default

Allowed Values

Comparison

True

-

One of: IsInRole, IsNotInRole

Role

True

-

Reference to QB::Application::Role