How to set the Default value

Hello,

wondering how to set the default value in the edit form? The solution is very simple,

Select the field in which you want to set the value, go to Advanced features, enter the value in the field Default value and save. The next time you want to add a new record, the value will already be filled in the edit form.


Thank you for reading. :slight_smile:

With kind regards,
Soňa

Hi, Sonia, is there any chance to use JavaScript for default value?
M.

Hello Manuel,

Yes, definitely. Simple javascript can be inserted directly into the field or for a more complex script you can use Scripting options, which you can find in the table settings.



With kind regards,
Soňa

//means a new record//
doo.model.ver === - 1