[TYPO3-dev] IRRE reload onChange
Dan Osipov
dosipov at phillyburbs.com
Tue Oct 7 22:12:13 CEST 2008
No one?
Flexforms have an option to set onChange = reload, so that the form is
reloaded when a field is changed. Is it possible here?
Dan Osipov
Calkins Media
http://danosipov.com/blog/
Dan Osipov wrote:
> I have a table set up for use in IRRE. It has two fields that are
> displayed, with the following TCA configuration:
> "widget_id" => Array (
> "label" => "Widget",
> "config" => Array (
> "type" => "select",
> "foreign_table" => "tx_widget",
> "foreign_table_where" => " AND
> tx_widget.type='###REC_FIELD_type###'",
> "maxitems" => 1,
> )
> ),
> "type" => Array (
> "exclude" => 1,
> "label" => "Type",
> "config" => Array(
> "type" => "select",
> "itemsProcFunc" =>
> "tx_widget_addFieldsToFlexForm->listWidgets",
> )
> ),
>
> What I want to happen, is that upon selecting the "Type" from a list,
> the "widget_id" field is updated with the results from the DB. Can that
> be done - preferably using AJAX?
>
More information about the TYPO3-dev
mailing list