I have this TypoSript:
Contance:
finish_day_value = TSFE:fe_user|sesData|finish_day
Setup:
plugin.Tx_Formhandler.settings.predef.formhandler-multistep-forms {
if {
1 {
conditions.OR1 {
AND1 = {$finish_day_value} > 7
AND2 = {$finish_day_value} < 15
}
isTrue {
markers.input_readonly_a_price = CONTENT
markers.input_readonly_a_price {
table = tx_pricelist_prices_full
select {
pidInList = {$get_carpid}
orderBy = uid
selectFields = uid, group_a_8_14
# possible conditions
where = ( tx_pricelist_prices_full.uid='1' AND hidden='0' AND deleted='0')
}
renderObj = COA
renderObj {
#value
1 = TEXT
1.insertData = 1
1.data = field:group_a_8_14
2 = TEXT
2.value = *
3 = TEXT
3.insertData = 1
3.data = TSFE:fe_user|sesData|finish_day
stdWrap.prioriCalc = 1
}
}
}
}
}
}
The finish_day value is sending by the session from one form to another (that's why I use TSFE:fe_user|sesData|finish_day
). But when I insert it to Setup (for example):
AND1 = TSFE:fe_user|sesData|finish_day > 7
AND2 = TSFE:fe_user|sesData|finish_day < 15
Nothings happens. So I try to define Constance value, but still nothing.
How to call the session value (finish_day) and use it on AND
conditions?
Thanks for any help