You need to sign in to do that
Don't have an account?
Marawan Shalaby
Validation Rules don't fire at all
Hi,
I want to apply validation rules which get checked upon creating an account. But after testing them and trying very basic rules which should always fire, my rules don't fire at all and the Account-Object gets created. They are set active, are syntactically correct. I created them in Customize > Accounts > Validation Rules. The formular basically looks like this:
AND(
OR( BillingCountry = "Canada", BillingCountry = "France" ),
OR( ShippingCountry = "Canada", ShippingCountry = "France" )
)
I know it's supposed to be easy but somehow I can't get it done. Any hint is appreciated, thank you!
I want to apply validation rules which get checked upon creating an account. But after testing them and trying very basic rules which should always fire, my rules don't fire at all and the Account-Object gets created. They are set active, are syntactically correct. I created them in Customize > Accounts > Validation Rules. The formular basically looks like this:
AND(
OR( BillingCountry = "Canada", BillingCountry = "France" ),
OR( ShippingCountry = "Canada", ShippingCountry = "France" )
)
I know it's supposed to be easy but somehow I can't get it done. Any hint is appreciated, thank you!
All Answers
I want to validate both country text input fields (both billing and shipping countries as part of the address compound objects) by clicking the "save" button on the "create new account" page. If the user input isn't "Canada" or "France" (example values), the validation rule should trigger and display a "invalid input"-error message without persisting the account object.
Thanks for your fast support!