Skip to main content

Changing boolean value from form to another value before posting to database

Comments

2 comments

  • Permanently deleted user

    I fixed this by just converting the boolean value to a string, and putting that in the database instead. I guess I just way over thought this one.

    0
  • Berend Veldkamp

    That's one way. If you prefer yes/no over true/false, you could use If(MyBooleanValue, "Yes", "No")

    0

Please sign in to leave a comment.