Frappe Cloud

Marketplace

Better Numerical Controls

Search for an app

Frappe

Products

Insights

Better Numerical Controls
A small plugin for Frappe that adds the support of customizations to the numerical controls.

Supported versions

Version 14, Version 13, Version 12

Categories

Free
Utilities

E-Commerce

About

A small plugin for Frappe that adds the support of customizations to the numerical controls.


Usage

  1. Go to Customization > Customize Form
  2. Enter the form type/name (Ex: 'User')
  3. Scroll down to the form fields area and create an Int, Float or Currency field or edit an existing custom field
  4. In the options property of the field, add a JSON object of the customizations you want. Example:{"min": 10, "max": 100}

🚩 Note

You can't modify the original fields of a doctype, so create a new field or clone and modify the entire doctype.


Available Options

| Option | Description || :--- | :--- || min | The minimum number allowed. - Example: -- Int: 10 -- Float: 10.5 || max | The maximum number allowed. - Example: -- Int: 100 -- Float: 100.5 || divisible_by | The number that the value must be divisible by. 🔵 Only for Int fields. - Example: 5 || min_field | The name of the field that holds the minimum number allowed. - Example: min_price || max_field | The name of the field that holds the maximum number allowed. - Example: max_price |


â›” The checking order is as follows:max_field, min_field, divisible_by, max, min


Supported Fields

  • Int
  • Float
  • Currency

User Reviews

No reviews yet, be the first to review.

0 rating

Rate and share your experience

Text

Explore more apps