| @@ -54,8 +54,12 @@ | ||
| 54 | 54 | * @var int|null |
| 55 | 55 | */ |
| 56 | 56 | public ?int $parentId; |
| 57 | 57 | /** |
| 58 | + * @var string|null Page ID for multi-page forms | |
| 59 | + */ | |
| 60 | + public ?string $pageId; | |
| 61 | + /** | |
| 58 | 62 | * @var FieldGeneralSettings |
| 59 | 63 | */ |
| 60 | 64 | public FieldGeneralSettings $generalSettings; |
| 61 | 65 | /** |
| @@ -99,8 +103,9 @@ | ||
| 99 | 103 | * @param int $rows |
| 100 | 104 | * @param int $rowIndex |
| 101 | 105 | * @param int $columnIndex |
| 102 | 106 | * @param int $width |
| 107 | + * @param string|null $pageId | |
| 103 | 108 | * |
| 104 | 109 | * @throws ValidationException |
| 105 | 110 | */ |
| 106 | 111 | public function __construct( |
| @@ -115,9 +120,10 @@ | ||
| 115 | 120 | ?int $parentId = null, |
| 116 | 121 | int $rows = 0, |
| 117 | 122 | int $rowIndex = 0, |
| 118 | 123 | int $columnIndex = 0, |
| 119 | - int $width = 100 | |
| 124 | + int $width = 100, | |
| 125 | + ?string $pageId = null | |
| 120 | 126 | ) { |
| 121 | 127 | $this->id = $this->validateId($id); |
| 122 | 128 | $this->formId = $this->validateId($formId); |
| 123 | 129 | $this->fieldIndex = $this->validateId($fieldIndex); |
| @@ -126,8 +132,9 @@ | ||
| 126 | 132 | $this->rowIndex = $this->validateRowIndex($rowIndex); |
| 127 | 133 | $this->columnIndex = $this->validateColumnIndex($columnIndex); |
| 128 | 134 | $this->width = $this->validateWidth($width); |
| 129 | 135 | $this->parentId = $this->validateParentId($parentId); |
| 136 | + $this->pageId = $pageId; | |
| 130 | 137 | $this->generalSettings = $generalSettings; |
| 131 | 138 | $this->fieldOptions = $fieldOptions; |
| 132 | 139 | $this->advancedSettings = $advancedSettings; |
| 133 | 140 | $this->rows = $this->validateRows($rows); |