Developer forum

Forum » Ecommerce - Standard features » Custom order field - checkbox field

Custom order field - checkbox field

Didzis Kuzmans
Reply

I have noticed that when using custom order fields with type checkbox, we have tags which returns System.String "yes/no" values instead of boolean "true/false"

in this situation @GetBoolean("FragtmandAgree.Clean") will always return "false" value. 

So, we have to use unnecessary conversations when working with custom checkbox fields in order page. I think orderline, product, etc, custom checkbox fields have usual "true/false" output.


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

I agree - weird behavior, but origins back from way back. It cannot be changed without breaking things, so we have to leave it be....

Votes for this answer: 1

 

You must be logged in to post in the forum