Quote:
Originally Posted by ownedbycats
#percentread is interger formatted as {0}%.
|
raw_field('#percentread') will give you the underlying number without formatting.
When using raw_field, undefined numeric fields are assumed to have a value of zero. If this isn't acceptable then use
Code:
and(field('#percentread'), raw_field('#percentread') ># 1)
This checks if the field has a value (the first field()) and if defined then checks the value.