Hi I got an integer type field with a custom behaviour. If I leave this field blank, database gives error (most probably eck sends the value as text null and database cannot write) If I write this field zero than it works. I attached my property behaviour. How can we put default value as zero so that there wont be a problem?

CommentFileSizeAuthor
labeled_text.zip1.19 KBzulfierken

Comments

fmizzell’s picture

Category: bug » support
Status: Active » Fixed

There is a "behavior hook" that gets called before a value gets set. You can use that to do exactly what you are describing

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.