Bug #78460
closedrequestUpdate property for form input fields
0%
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?
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.
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.
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.
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.
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.
Updated by Christian Eßl about 5 years ago
- Category set to FormEngine aka TCEforms
Updated by Christian Kuhn almost 3 years ago
- Related to Story #69712: Further FormEngine development added
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)