Project

General

Profile

Actions

Bug #93430

open

formfield marked as invalid although all parameters are set

Added by Michael Perlbach almost 4 years ago. Updated 4 months ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2021-02-04
Due date:
% Done:

0%

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

Description

Hi,

I encountered the following problem in a template. I named a form field:

oname[table][{someid}][field]

Although {someid} is set (and is visible in the name of the rendered form element) I get an error message when trying to submit the form:

The form field \"tx_extname_application[oname][table][][field]\" is invalid. Reason: \"[]\" used not as last argument, but somewhere in the middle (like foo[][bar]).

I have been trying to solve this for a couple of days without success - and now I come to the conclusion that it must be a bug in TYPO3.

Cheers
Michael

Actions #1

Updated by Michael Perlbach almost 4 years ago

  • Description updated (diff)
Actions #2

Updated by Michael Perlbach almost 4 years ago

additional info: The problem occurs when {someid} is set automatically - when I write it directly into the template, it works.

Actions #3

Updated by Benni Mack 4 months ago

  • Status changed from New to Needs Feedback

Hey Michael,

sorry for the late feedback. What do you mean with "is set automatically"? You mean by JS?

Actions

Also available in: Atom PDF