CRM On Demand - Administration (MOSC)

MOSC Banner

Enforcing Case Requirements in Field Validations

edited May 15, 2014 10:05PM in CRM On Demand - Administration (MOSC) 2 comments

Enforcing Case Requirements in Field Validations


These expression examples show how to enforce uppercase, lowercase and titlecase requirements on a field.

Field Validation rule to make a Field require all CAPITAL letters:

=IIf(FindOneOf([<ContactFirstName>],'abcdefghijklmnopqrstuvwxyz')>0,'-1',[<ContactFirstName>])

Field Validation rule to make a Field require that just the first letter be CAPITAL:

=IIf(FindOneOf(Left([<ContactFirstName>],1),'abcdefghijklmnopqrstuvwxyz')>0,'-1',[<ContactFirstName>])

Field Validation rule to make a Field require that just the first letter be lowercase:

=IIf(FindOneOf(Left([<ContactFirstName>],1),'ABCDEFGHIJKLMNOPQRSTUVWXYZ')>0,'-1',[<ContactFirstName>])



Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center