[TYPO3-english] Passing a value from TS to userfunc for SQL: value={field:uid}

bernd wilke t3ng at bernd-wilke.net
Tue Dec 2 15:59:10 CET 2014


Am 02.12.14 15:07, schrieb Bert Hiddink [BENDOO e-work solutions]:
> Hello,
>
> Having a hard time understanding why I can not pass a value with
> value:{field:uid} to a SQL-statement within a userfunc.
>
> Please see below. If I hardcode "selectedUid.value=654", the SQL gives
> the expected result. However, if I use "selectedUid.value={field:uid}",
> the SQL returns nothing, not even 0, that is, makes the statement
> invalid IMHO.

either you need to do the stdwrap/ evaluate your TS yourself
or you just missed to use .insertData = 1

bernd
-- 
http://www.pi-phi.de/cheatsheet.html


More information about the TYPO3-english mailing list