Get answers quicker by searching

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

  • Ben September 2015
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

  • 1 Comment
  • Vote Up0Vote Down BenBen
    Posts: 3,484Sendy support

    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

This discussion has been closed.
All Discussions