Features / Usability

Features / Usability

Can't set checkbox to n on listexecute action?

posts: 126825 United Kingdom
Bernard Sfez / Tiki Specialist wrote:

I kind of agree it should work with "n" value as we, human, intend it.
I think I posted a ticket about this a long time ago.

Definitely sounds like a bug, tested locally here and it doesn't set either "y" or "n".
Here's my simplified test example:

{LISTEXECUTE()} {filter field="tracker_id" content="4"} {filter type="trackeritem"} {filter field="tracker_field_isIt" editable="y" } {OUTPUT(template="table")} {column label="title" field="title"} {column label="is it?" field="tracker_field_isIt"} {OUTPUT} {ACTION(name="Is it = y")} {step action="tracker_item_modify" field="isIt" value="y"} {ACTION} {ACTION(name="Is it = n")} {step action="tracker_item_modify" field="isIt" value="n"} {ACTION} {LISTEXECUTE}

Will see if there's a quick fix...