Instance Property

nameFieldLastNameOptional

A Boolean value indicating whether the reservation requires the guest’s last name.

Declaration

var nameFieldLastNameOptional: Bool { get set }

Discussion

The default value of this property is false, which prevents completion of the reservation if the last name field is empty.

See Also

Specifying Required Fields

var nameFieldFirstNameOptional: Bool

A Boolean value indicating whether the reservation requires the guest’s first name.