Thanks for that Linus.
Do you know whether it is possible to change the Regex for an existing XForms.DataTypes.Types element? I want to enhance the email address regex.
I'm sure I've seen some code that updates the existing types (done in the Global.asax.cs file?)
Well, there is the following article that contains alot of useful information, although not really any code sampels.
I can't seem to find the old code samples, but if you share your particular problem perhaps we can find a solution.
As for Marks old question, it should be possible to replace the built in valiadtion. The DataTypes are stored in a static Hashtable, which you can modify directly. Guessing it would be something like this:
EPiServer.XForms.DataTypes.Types["email"] = "my new regex";
EPiServer CMS development team
I am also looking for code samples about xforms.
It seems almost impossible to find. The Developing-with-Xforms document is not helpful in this case!
Found some code samples!