Project

General

Profile

Actions

Bug #102839

open

EXT:form does not respect enabled property of page model in getNextPage

Added by Stefan Froemken 3 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
Start date:
2024-01-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hello,

I have created 3 pages with EXT:form.
On page 1 there are 3 radio buttons to differ between some record types.
Record type "simple" just needs two pages. So I disabled page 3 by default in YAML.
The other record types need some more information, so a activated page 3 with help of variants option.

The problem is:
If I select record type "simple" the next button will be rendered instead of the submit button.

Problem seems to be in getNextPage method of FormRuntime object. Either getNextPage nor hasPageWithIndex tests against "enabled" property. So, here, page 3 is always available which should not be the case.

Stefan

No data to display

Actions

Also available in: Atom PDF