On Nov 29, 7:58 am, lyn2py <[email protected]> wrote:
> Clarification Needed!
>
> If I use default=some_value, writable=False, readable=False, the field
> does not appear on the form at all, and does not autofill with the
> default value either, is that the correct behavior?

If a field value is not provided it is always filled with the default
value.

> To have a value for this field, I must manually assign a value in
> controller?

You should set a default value. You can set it in model or in
controller.

> I ask this because I have a lot of "hidden" fields, but I can't seem
> to hide them properly or get their values inserted into the database
> with the above solution...

Show us your code.

Reply via email to