[TYPO3] submitting and reading
Dmitry Dulepov
typo3 at accio.lv
Tue Apr 25 10:32:21 CEST 2006
Hi!
Andrea Giorgini wrote:
> I've successfully read a POST value with the GPvar function (I know, I'm
> a newbie :-)). Now I would like to say something like: "if this value in
> POST is submitted, show this text". I tried with something like:
Do not just try but look at TSRef first. "value" is not "stdWrap", so
you cannot use GPvar there.
Here is a simple answer:
http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/7/
Change:
> page.30 = TEXT
> page.30.if.isTrue.value=GPvar:myname
page.30.if.isTrue.data=GPvar:myname
> page.30.value = Text to show
> but this doesn't show my any text... what's wrong?
TypoScript is a defined language. It does not accept properties that you
invent :) Refer to TSRef to find property you need to set/check and use it.
Dmitry.
--
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-english
mailing list