Re: [TYPO3-english] TS combining 2 conditions: if val1=1 and ifEmpty val2

2012-05-13 Thread Bert Hiddink [BENDOO e-work solutions]
Hello Loek, Thanks, you're right! Tested and worked! Thanks a lot, Bert On 5/12/12 12:56 PM, Loek Hilgersom wrote: Hi Bert, Glad it worked. Just a note: if you don't explicitly need the isInList but using it instead of equals, then you could do the multiple value part more elegantly with 10

Re: [TYPO3-english] TS combining 2 conditions: if val1=1 and ifEmpty val2

2012-05-12 Thread Bert Hiddink [BENDOO e-work solutions]
Hello Loek! On 5/12/12 12:09 AM, Loek Hilgersom wrote: Hi Bert, 10 = TEXT 10 { value = override = AAA override.fieldRequired = nav_title if.equals = 1 if.value.data = cObj:parentRecordNumber } Should do the job! Loek Wow! Compact and elegant, works like a charm! Looked for a variant

Re: [TYPO3-english] TS combining 2 conditions: if val1=1 and ifEmpty val2

2012-05-12 Thread Bert Hiddink [BENDOO e-work solutions]
Hello Loek, Just another question: On 5/12/12 8:04 AM, Bert Hiddink [BENDOO e-work solutions] wrote: Looked for a variant and just figured out that this: ... override = AAA override.if { value = value-to-check isInList.field = nav_title } ... would check the field against a certain value...

Re: [TYPO3-english] TS combining 2 conditions: if val1=1 and ifEmpty val2

2012-05-12 Thread Loek Hilgersom
Hi Bert, Glad it worked. Just a note: if you don't explicitly need the isInList but using it instead of equals, then you could do the multiple value part more elegantly with 10 = CASE 10 { key.field = nav_title default 1. (etc) Loek On 05/12/2012 09:12 AM, Bert Hiddink

[TYPO3-english] TS combining 2 conditions: if val1=1 and ifEmpty val2

2012-05-11 Thread Bert Hiddink [BENDOO e-work solutions]
Hello, The following: ... 10= TEXT 10 { insertData=1 value =A if.equals = 1 if.value.data = cObj:parentRecordNumber } ...works ok, turns true if parentRecordNumber==1 However, what if I want to combine this condition

Re: [TYPO3-english] TS combining 2 conditions: if val1=1 and ifEmpty val2

2012-05-11 Thread Loek Hilgersom
Hi Bert, 10 = TEXT 10 { value = override = AAA override.fieldRequired = nav_title if.equals = 1 if.value.data = cObj:parentRecordNumber } Should do the job! Loek On 05/11/2012 10:11 PM, Bert Hiddink [BENDOO e-work solutions] wrote: Hello, The following: