Email Address validation by Forms Personalization,
Posted on: 12/18/2008 @ 10:29AM
By: Gareth
In prior posts I've dealt with Forms Personalizations, and played with email e.g. via BI (XML) Publisher Bursting. In this post we'll come up with a simple Forms Personalization to ensure that data entry of email addresses results in well-formed email addresses. We'll use regular expressions: an underutilized feature in Oracle since 10g. Initially we'll look at the Remittance Email address on Supplier Sites. But the implementation will allow easy re-use for other email address fields in the EBS by storing the regular expression in a Profile Option.
The Regular Expression
Lets take a look at the regular expression I'll use for email address validation. This regular expression is a consolidation from a variety of sources, considers IPv4 and IPv6 addressing, and includes specific formatting to get around an Oracle Regex bug. Note it isn't the "full official" regex for email address validation - I wanted a one-liner! What does the regular expression below mean? Basically allow a bunch of characters before the @ and a bunch of characters after th
http://feeds.feedburner.com/~r/garethroberts/~3/488531605/email-address-validation-by-forms.html
http://feeds.feedburner.com/~r/garethroberts/~3/488531605/email-address-validation-by-forms.html



Comments (Add)
Empty Jar?
Be the first to add a Comment for this article!