How to define a value in a Single Line Entry as boolean?

Hello,

We need to map a Single Line Entry value to a URL defined Service input value. One of those Input values is of type Boolen. We can't map the value from a Single Line Entry to a target field in the "2.Inputs" section. When connecting them., we get this error:

"Source data type "String" and target data type "Boolean" are incompatible."

How could we solve/bypass this ?

Thanks.

You can either change the SLE to a checkbox, which will return true/false, or, if you must have an SLE, then add a check box and hide it and set its value based on the SLE with JS.

I'm assuming the SLE has either TRUE or FALSE as a value?

That was it. A checkbox is a Boolean. Thanks.