# Problems if a text field is formatted with a date

**URL:** <https://forum.servoy.com/t/problems-if-a-text-field-is-formatted-with-a-date/3150>\
**Category:** Classic Servoy\
**Created:** [November 27, 2004, 10:00am UTC](https://forum.servoy.com/t/problems-if-a-text-field-is-formatted-with-a-date/3150 "2004-11-27T10:00:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![idoctor](https://avatars.discourse-cdn.com/v4/letter/i/a88e4f/32.png) [@idoctor](https://forum.servoy.com/u/idoctor)\
**Post date:** [November 27, 2004, 10:00am UTC](https://forum.servoy.com/t/problems-if-a-text-field-is-formatted-with-a-date/3150/1 "2004-11-27T10:00:05Z")

</div>

Prior to build 314 one could set a text field to have a date format and it accepted it. Now it displays ‘MM/dd/yyyy’. Maybe this is intended.

Servoy Developer  
Version R2 2.1.2rc1-build 314  
Java version 1.4.2\_06-b03 (Windows 2003)

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [November 29, 2004, 5:03pm UTC](https://forum.servoy.com/t/problems-if-a-text-field-is-formatted-with-a-date/3150/2 "2004-11-29T17:03:13Z")

</div>

yes we have masked text input support now for textfields

see: [http://java.sun.com/j2se/1.5.0/docs/api … atter.html](http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/text/MaskFormatter.html)

therefore date type strings are currently not supported for text input fields. Before this they weren’t doing anything for text fields.
