View Single Post
Old 02-24-2021, 02:41 PM   #3
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,104
Karma: 77213681
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I had to modify it a bit. The pound sign broke it, and I actually wanted >1 to get it to work the way I wanted.

Code:
program:
	if and(
		check_yes_no('#read', '', 1, ''),
		field('#lastread'),
		field('#percentread') >1
		)
	then
		'Yes'
	fi
Oddly enough, this resulted in another small glitch that I reported on the bug tracker.

Last edited by ownedbycats; 02-24-2021 at 02:50 PM.
ownedbycats is offline   Reply With Quote