Boolean data type for custom fields?
As far as I can see there is no option to add a custom field with a Boolean data type (True/False). That would really be useful. Any change that can be added?
John
This discussion has been closed.
As far as I can see there is no option to add a custom field with a Boolean data type (True/False). That would really be useful. Any change that can be added?
John
Comments
Hi,
You can pass 'true' or 'false' strings inside a text custom field. Then in your backend script use an "if else" statement to check if the value passed is 'true' or 'false' then process accordingly. You can even use 'yes' or 'no'.
Thanks.
Best regards,
Ben