Project

General

Profile

Actions

Bug #78460

closed

requestUpdate property for form input fields

Added by Sergio Catalá about 8 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2016-10-27
Due date:
% Done:

0%

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

Description

For opened form input fields in the backend, the TCA property requestUpdate (https://docs.typo3.org/typo3cms/TCAReference/Reference/Ctrl/Index.html#requestupdate) is not working.

Is this a bug or a feature request?
If this is not allowed, is there a special reason for that?


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Story #69712: Further FormEngine developmentClosed2011-12-01

Actions
Actions #1

Updated by Anja Leichsenring about 8 years ago

could you please provide steps to reproduce? I can't get your problem from your description. RequestUpdate works for me, for example the CType of tt_content implements that behaviour.

Actions #2

Updated by Sergio Catalá about 8 years ago

I am using the next code through flux extension:

        <flux:form options="{group:'Custom elements'}" 
                   id="headerstage" 
                   description="Teaser element">
            <flux:form.sheet name="content">
                <flux:field.input name="linkpage" requestUpdate="1">
                    <flux:wizard.link />
                </flux:field.input>
                <flux:field.input name="linktext" maxCharacters="50" displayCond="FIELD:linkpage:>:0"/>
            </flux:form.sheet>
        </flux:form>

When the linkpage field looses the focus, the backend should be reloaded, to allow the evaluation of the displayCond in the other field.

Actions #3

Updated by Anja Leichsenring about 8 years ago

  • Status changed from New to Needs Feedback

no idea about flux, sorry. RequestUpdate is not available for flexforms, too.

Have a look at https://wiki.typo3.org/Extension_Development,_using_Flexforms#Display_conditions_and_dynamic_reloading_of_form, maybe that helps.

Actions #4

Updated by Nicole Cordes about 8 years ago

  • Status changed from Needs Feedback to Closed

Hi Sergio,

requestUpdate is an option within your tables CTRL section. By reading the provided flux code, this means, flux has to change the TCA on the fly which doesn't work because TCA is cached. IMHO this is a problem of flux not using the TYPO3 TCA api correctly. Please contact the support of EXT:flux.

Closing this issue for now. If you have another way how to reproduce your problem, please report to another ticket. Thank you.

Actions #5

Updated by Christian Kuhn almost 8 years ago

  • Status changed from Closed to New

Actually, requestUpdate is available as "onChange=reload" within flex form fields. And yes, InputTextElements do not handle requestUpdate / onChange at all, I stumbled upon that during my current FormEngine patch.

My patch resolves this "requestUpdate does not exist in flex forms" issue by removing it from 'ctrl' section and allowing "onChange=reload" on all fields, also outside of flex forms.

So, the issue with the input fields is confirmed, and this area needs some JS side works anyway and the issue could be solved along the way.

I'll set a "Related" flag in my patch to point to this issue.

Actions #6

Updated by Christian Kuhn almost 8 years ago

  • Parent task set to #69712
Actions #7

Updated by Christian Eßl about 5 years ago

  • Category set to FormEngine aka TCEforms
Actions #8

Updated by Christian Kuhn almost 3 years ago

  • Parent task deleted (#69712)
Actions #9

Updated by Christian Kuhn almost 3 years ago

  • Related to Story #69712: Further FormEngine development added
Actions #10

Updated by Garvin Hicking 5 months ago

  • Status changed from New to Closed

I'm closing this issue because it is no longer relevant, as "requestUpdate" has been removed in TYPO3 8.6 (see #78899)

Actions

Also available in: Atom PDF