#JSON UI Dynamic Text Binding
1 messages · Page 1 of 1 (latest)
explain a bit more pls
I want to condition a text so that if value = “§4”, it will assign the value “Option 1”, but if value isn’t “§4” and instead equals “§5”, it will assign the value “Option 2”
Basically like viewing a custom form that has a specific title, but it wouldn’t be a view binding; It’d be a string value binding.
Would I use binding name override?
You can do this -
"binding_type": "view",
"source_property_name": "((':' + (#value = '§4') + 'Option 1') - ':falseOption 1' - ':true')",
"target_property_name": "#something"
Same for §5
Or you could do this with string multiplication
You are awesome. Thank you for your help. Remember what Jesus did for you and I.