Loading...
Skip navigation

Prefill hidden field with News-Title or similar data

Use a hidden field with section ValueFromTypoScript. The value field contains a marker name, in which the required Data string is written:

fields {
    objekttitle < plugin.tx_fluidform.presets.fields.hidden
    objekttitle {
        label = Immobilie
        section = ValueFromTypoScript
        value = lib.openimmo.objekttitel
    }
}

The marker can be filled as usual by a TypoScript RECORD object:

lib.openimmo.objekttitel = COA
lib.openimmo.objekttitel {
    wrap = This is the title:|
    10 = RECORDS
    10 {
        # id des template-records
        source = {GP:tx_openimmo_immobilie|immobilie}
        source.insertData = 1
        tables = tx_openimmo_domain_model_immobilie
        conf.tx_openimmo_domain_model_immobilie >
        conf.tx_openimmo_domain_model_immobilie = TEXT
        conf.tx_openimmo_domain_model_immobilie.field = objekttitel
    }
}

Contact request

You can contact us at any time

Contact request
Screenreader label
Security question
TPB_________I9M______
Y_C____X____6_L___4TR
O4N___R3W___F_C______
8_W____T____E_J___X2X
WTN_________D3Y______