Answers.Body: <p>I just wrote one! <a href="https://github.com/marionnewlevant/craft-mn_matchinput" rel="nofollow">MN Match Input</a>. You specify an <code>Input Mask</code> and the entry won't save if <code>preg_match($inputMask, $value)</code> isn't 1. So you get all the power of <a href="http://php.net/manual/en/function.preg-match.php" rel="nofollow">preg_match</a> (lots of rope...)</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-01-04T06:35:49.180Z
Answers.LastActivityDate: 2015-01-04T06:35:49.180Z
Answers.UserDisplayName: Marion Newlevant
Body: <p>Is there anything like the <a href="http://devot-ee.com/add-ons/ndg-masked-input" rel="nofollow">EE add-on</a> for Craft?</p>
  
  <p>This would be <em>really</em> useful for part numbers, etc.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-11-12T15:39:53.543Z
Comments.Text: I don't think there is but I would love to see something like this. First party would be even cooler....
Comments.UserDisplayName: Tyler Willingham
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-11-16T04:37:41.107Z
Comments.Text: Probably not something we would add to the core. You should ask the developer and see if they can port it to Craft ;)
Comments.UserDisplayName: Brandon Kelly
Tags: <fieldtypes>
Title: Is there a masked input field type for Craft?
ThreadText: # Is there a masked input field type for Craft?
  
  (Asked by: username_0 on 2014-11-12)
  
  Is there anything like the [EE add-on](http://devot-ee.com/add-ons/ndg-masked-input) for Craft?
  
  This would be *really* useful for part numbers, etc.
  
  **Tags:** fieldtypes
  
  > **Comments:**
  > **username_1**: I don't think there is but I would love to see something like this. First party would be even cooler....  
  > **username_2**: Probably not something we would add to the core. You should ask the developer and see if they can port it to Craft ;)  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2015-01-04. Score: 1
  
  I just wrote one! [MN Match Input](https://github.com/username_3/craft-mn_matchinput). You specify an `Input Mask` and the entry won't save if `preg_match($inputMask, $value)` isn't 1. So you get all the power of [preg\_match](http://php.net/manual/en/function.preg-match.php) (lots of rope...)
  
  
  ---
  
  