Issue Bug Closed

#93762Case condition based on post params not working

Bernhard Eckl 03/17/21, 10:42 updated 03/18/21, 07:12

Description

In TYPO3 8 the following worked (condition for form framework to set a different receiver email address):

recipientAddress = CASE
recipientAddress {
key.data = GP:tx_form_formframework|kontakt_1|singleselect-1
default = TEXT
default.value = default@mail.com
1 = TEXT
1.value = another@mail.com
}

I tried the following in TYPO3 9 but nothing worked:

key.data = GP:tx_form_formframework|kontakt_1|singleselect-1
key.data = traverse(request.getParsedBody(), ‘tx_form_formframework/kontakt_1/singleselect-1’)
key.data = request.getParsedBody(), ‘tx_form_formframework/kontakt_1-15509/singleselect-1’)
key.data = request.getParsedBody(), ‘tx_form_formframework/kontakt_1/singleselect-1’)
key.data = (request.getParsedBody()[‘tx_form_formframework])[kontakt_1][singleselect-1’]
key.data = (request.getParsedBody()[‘tx_form_formframework])[kontakt_1-15509][singleselect-1’]

How to do that in TYPO3 9?

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.