• Matias Calvo
  • NEWBIE
  • 0 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 5
    Replies
Hi

This post is related to an issue which I am not able to solve
https://developer.salesforce.com/forums/ForumsMain?id=9060G0000005X4R

Actally I want to write a method that validates an IBAN.
Would anyone have some code to share for this?
I need to convert a String of this length to any type of number.

But Long is not powerful enough to contain that.

What can I do?
Hi all

We are trying to validate IBAN in text field in SFDC. I have looked into this discussion but it doesn't work https://developer.salesforce.com/forums?id=906F00000009EoDIAU

Has someone a solution for validating IBANs?

Thanks

 

hi,

i have written validation rule for vat number format checking.it was checking for only one country.for rest of the countries it  havenot work.for example in that rule i have written for 3 countries..it is working fine for germany ,for  rest of the countries(finland,denmark) rule is not working.can u tell me where is the problem and what i have to do.

 

 

OR(OR(AND(AND(ISPICKVAL( Country__c ,'GERMANY') ,ISBLANK( VAT_No_c__c )),ISPICKVAL( Account_Type__c , 'Corporate')),NOT(REGEX( VAT_No_c__c ,"([A-Z]{2}\\d{9})?"))),
OR(AND(AND(ISPICKVAL( Country__c ,'FINLAND') ,ISBLANK( VAT_No_c__c)),ISPICKVAL(Account_Type__c ,'Corporate')), NOT(REGEX( VAT_No_c__c ,"([A-Z]{2}\\d{4})?")))
OR(AND(AND(ISPICKVAL( Country__c ,'DENMARK') ,ISBLANK( VAT_No_c__c)),ISPICKVAL(Account_Type__c ,'Corporate')),NOT(REGEX( VAT_No_c__c ,"([A-Z]{2}\\d{7})?"))))

 

Regards,

Praveen

  • September 10, 2012
  • Like
  • 0

Hi,


I have a requirement on a SSN field :-


- Should include dashes

- Should not be less than or more than 10 digits


Please assist in creating a validation rule for same.

 


Thanks,


Vimal