Form defaults¶
Form defaults let you pre-fill form fields with values of your choosing, so your team doesn’t have to enter the same information over and over. For example, if most of your products share the same country of origin, you can set that as the default and it will be automatically selected whenever a new product is created.
Accessing form defaults¶
Go to . Select the form you want to configure from the dropdown.
Configuring default values¶
After selecting a form, you will see a text area where you can define default values using JSON format. Each key is the name of a form field, and the value is the default you want to set.
Example:
{
"is_gem_product": true,
"ownership_percentage": "100.00",
"country_of_origin": 5
}
Tip
For checkbox fields, use
trueorfalse.For dropdown fields (like country, shape, clarity), use the numeric ID of the option.
For text and number fields, use the value directly (as a string or number).
Click Save defaults to apply your changes. The next time someone opens that form to create a new record, the configured defaults will be pre-filled automatically.
How defaults behave¶
Defaults are only applied when creating new records. When editing an existing record, the current values are shown instead.
Users can always override any default value before saving.
If no defaults are configured for a form, it behaves as usual.
Available forms¶
The following forms currently support configurable defaults:
Gem trader product form — used when creating products in gem trader mode