View Single Post
Old 08-28-2022, 09:08 AM   #1
igorius
Zealot
igorius began at the beginning.
 
Posts: 123
Karma: 34
Join Date: Jun 2015
Device: ipad & inkpad X
setting custom column problem

I have a strange problem with setting a custom column:
First problem: The program i used to set the reading status to 100 when #read gets set stopped working. I dont know why...

program: if test(check_yes_no('#read', 0, 0, 1), '#0000ff', '') then assign('#reading', 100) fi;

The template editor shows 100 when the #read is set and nothing when #read is not set or undefined.
But the field doesnt get updated anymore.

Second problem: Is it possible to set directly 2 different columns at the same time like

program: if test(check_yes_no('#read', 0, 0, 1), '#0000ff', '') then assign('#reading', 100) && assign ('#last_read', today()) fi;

Can i use the today() this way?

#read is yes/no
#reading is float
#last_read is date
igorius is offline   Reply With Quote