Quote from: dev_cw at Dec 30, 2008, 05:55 PM
you need something like [+phx:input=`[+placehoder+]`:
Yes and no: You have to write
[+phx:if=`[+placehoder+]`:
I should use my brain again instead of the typing shortcut utility that I installed some days ago.
Quote from: ChuckTrukk at Dec 30, 2008, 06:14 PM
[+soldout+] will always equal [+soldout+]. It’s the same placeholder. You could do if [+soldout+]`:is=`1` or [+soldout+]`:is=`checked`
I tried this before - without luck. The output of [+soldout+] is "soldout", but using this won´t work. Strange. I must use my wrong code (wrong syntax included) from my first post to get the wanted output.
I still have trouble with another PHx call. It´s a little bit mor complex but maybe someone is so kind to have a look if this is right.
[*phx:if=`[[GetField? &docid=`[*phx:get=`termin`*]` &field=`pg_kasse1` ]]`:is=``:then=`[[GetField? &docid=`[[GetField? &docid=`[*phx:get=`termin`*]` &field=`au_preisgruppe`]]`&field=`pg_kasse1`]] Euro`:else=``*]
Wenn there is no price at the TV "pg_kasse1" there should be no output but I alway get "Euro" as output instead of nothing. When "pg_kasse1" is set to "8,00" the call will display correctly "8,00 Euro".