Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • anthony hall 222 posts 536 karma points
    May 13, 2013 @ 10:52
    anthony hall
    0

    default reg ex in custom field type

    I have a few custom contour fieldtypes. I'm wonder is it possible to set default reg ex values for there.

    ie i have a field type called "email" and would like to be able to set this reg ex programmatically. 

    The following post suggest this feature is not available yet?

    http://our.umbraco.org/forum/umbraco-pro/contour/38930-Adding-a-default-regex-in-a-custom-field

     

  • Comment author was deleted

    May 15, 2013 @ 11:42

    Yup not available yet, assigned it to 3.0.13 (next release)

  • Comment author was deleted

    May 15, 2013 @ 11:43

    If you are using the razor render you should be able to insert the regex directly on the field type view

  • anthony hall 222 posts 536 karma points
    May 15, 2013 @ 12:02
    anthony hall
    0

    cool, great to hear it's coming. I've put it in my view. Will wait for update to get server side check.as well. 

Please Sign in or register to post replies

Write your reply to:

Draft