Imported From: http://groups.google.com/group/in-portal-dev/browse_thread/thread/720cfe294c660f31#
I'd suggest to add a regular expression field in custom field editing
record. When filled, then on forms (where this custom field value is
entered) check would do:
- entered value matches regular expression. If it doesn't match, then
doesn't allow to save custom field value and display an error
OR (with a selector)
- just use provided regular expression to cut part of submitted data
This would mainly be used to let user enter URL or code lines, without
compromising security.
Phil.