I working on validation of email field ,Suppose somebody enters email ID like this .
abc@#xyz.com I need to check for these # and throw an error .Could you please let me know on this.
Shiv Prashant Dixit replied
I could thought of this logic to throw error if there are more than 1 @ symbol in the Field.
Here, XXXX means your email ID field.
Logic is pretty Simple, we are checking for next occurrence of @ starting from first occurrence of @. if there is more than 1 @ then this outer Find will return some non zero number otherwise zero.
In my previous post in this thread
’ and ‘
has been replaced by quotation Mark ( ' ). this is making previous post confusing and misleading. So I am re-posting to make things clear :
"I found that
means left single quotation mark ( ' ) and
means Right single Quotation Mark ( ' ). In the syndicator try by doing following changes in your map:
Go to "destination Items" Tab and select your destination Item which is giving you problem. Set Normalization property for this destination Item as "Custom Normalization Only" and specify Quotation Mark ( ' ) (without bracket as the custom character for normalization). Try it and revert with the result."