# Overriding the default settings of a (number) field in a gentle way

**URL:** <https://forum.getkirby.com/t/overriding-the-default-settings-of-a-number-field-in-a-gentle-way/2318>\
**Category:** Questions\
**Tags:** v2\
**Created:** [October 26, 2015, 12:23pm UTC](https://forum.getkirby.com/t/overriding-the-default-settings-of-a-number-field-in-a-gentle-way/2318 "2015-10-26T12:23:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anon68757951](https://avatars.discourse-cdn.com/v4/letter/a/f475e1/32.png) [@anon68757951](https://forum.getkirby.com/u/anon68757951)\
**Post date:** [October 26, 2015, 12:23pm UTC](https://forum.getkirby.com/t/overriding-the-default-settings-of-a-number-field-in-a-gentle-way/2318/1 "2015-10-26T12:23:47Z")

</div>

Okay, so I am building a **Google Maps** blueprint - like the one in my screenshot below;

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/5/58e17b2d2f789dea3b47c0386375f3f0990f7b33.png)

As you can see, one can enter the Latitude / Longitude in the panel - and I used the default **numbersfield** for those fields (so one can not accidentally enter a non-numeric value) for the coords.

However, the standard numberfield does only accept rounded numbers, like 1 - 5 - 42 - 94594, etc… and I need a number with some floating points (is that correct English? I mean the numbers “after” the dot / comma (depends on your metric-system of course), like 52.442342 - 13.442352, etc…

* * *

The default settings for a numberfield have the `html-step value` defined as `1`, meaning you can not enter a proper lat. / long. decimal.

Is it possible to override this single option, without creating a new numberfield (I solved it by copy/paste the whole number-directory with it’s contents to my `/site/field` directory and adjust the setting like in the screenshot below;

 ![](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/4/4d6b37e7b407d6ef0ed6f2e78a20c126b09eab7e.png)

**Of course this does do the job 🙂 but maybe there is an option to override the default behaviour, without the need to copy the complete field to your own site-directory?**

May be in the config.php file, or something (some settings looks like the are defined with a config-option, while others don’t).

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [October 26, 2015, 12:27pm UTC](https://forum.getkirby.com/t/overriding-the-default-settings-of-a-number-field-in-a-gentle-way/2318/2 "2015-10-26T12:27:58Z")

</div>

You can add the step option:

```nohighlight
fields:
  price:
    label: Price
    type: number
    step: .01

```

[http://getkirby.com/docs/cheatsheet/panel-fields/number](http://getkirby.com/docs/cheatsheet/panel-fields/number)

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:04pm UTC](https://forum.getkirby.com/t/overriding-the-default-settings-of-a-number-field-in-a-gentle-way/2318/3 "2025-02-06T17:04:23Z")

</div>


