Skip to Main Content
Feature Request FR-4250
Product Area User Interface
Status ROADMAP

18 Voters

Autoformat date fields to the correct format mask if entered without separators

kmrt Public
· Feb 3 2025

Idea Summary
When entering a date into a Date Picker item it should be possible to autoformat the input to the configured date format.

Currently we use moment.js to facilitate this behaviour.

https://momentjs.com/

Use Case
We want to enter the date: 1st of February 2025

Format Mask is set to: DD-MM-YYYY

Input: 01022025

Result: 01-02-2025

Preferred Solution (Optional)
Use the format mask that is already used in the HTML of this item to automatically convert the input to the desired format mask. If it's not possible to convert the input ignore any convertion or optionally throw an error.

This option could be toggled on / off via a switch in the Page Item Attributes.

When toggled on you can also provide an input format mask like: DDMMYYYY

This is currently on the roadmap for a future release of Oracle APEX.

Comments

Comments

  • j_schuster OP 2 weeks ago

    That's something for Ronny to tackle 😊