https://avo.cool logo
I guess the solution is to use hidden as
# general
b
I guess the solution is to use :hidden as the field type, and set a default
l
yes, this is the solution from Avo side
there are other methods, but this is the way we'd do it
l
@billowy-painter-46820 we have the community help sections where people normaly ask for help. There are [
readonly
](https://docs.avohq.io/2.0/field-options.html#readonly) and [
disable
](https://docs.avohq.io/2.0/field-options.html#disabled) field's option. You're right,
readonly
will not be considered on the submission, howver you can use
disable
option in this cases, it will act just as the
readonly
but the value will be assigned to the record. Notice that this open a security breach on your app and a bad actor can modify the value of the disabled field directly on the DOM and that value will be assigned to the record! So use it with precaution.