It is kinda strange but db_persist writes no data if it takes value from repeatable field. Sorry, i don't have access to the source code at the moment but it is easy to reproduce with this pseudo-code example:
Strange thing that "if" condition is working and cms:show needed value works too and also i can db_persist some value(eg random_name) BUT it makes no output if I try to persist the value :/
PS it would be super great if I could write with db_persist to the field withing repeatable but it seems to be not possible. But the problem mentioned in the post drives me crazy because I see no reason why it fails :/
- Code: Select all
<show repeabale>
<if field contains exact value> //compare if checkbox is checked at this iteration
<db_persist> // write to external field not in the repeatable
</if field contains exact value>
</show repeabale>
Strange thing that "if" condition is working and cms:show needed value works too and also i can db_persist some value(eg random_name) BUT it makes no output if I try to persist the value :/
PS it would be super great if I could write with db_persist to the field withing repeatable but it seems to be not possible. But the problem mentioned in the post drives me crazy because I see no reason why it fails :/