1. Merklin
  2. General
  3. Wednesday, March 19 2014, 12:21 PM
Hi

Is there a chance to create a fieldtype for a bank account where in one field an IBAN and in the other the BIC can be entered?
I know, that can be done by using fieldtype text, but I would like to make it failsafe regarding the input. Can this be managed by using custom format?
Any ideas are appreciated.

Rgds

Markus
Accepted Answer
admin Accepted Answer
Admin
Can this be managed by using custom format?

Yes
put this in Custom Format
[a-zA-Z]{2}[0-9]{2}[a-zA-Z0-9]{4}[0-9]{7}([a-zA-Z0-9]?){0,16}


I have not tested, I have search on google regexp IBAN

for BIC
([a-zA-Z]{4}[a-zA-Z]{2}[a-zA-Z0-9]{2}([a-zA-Z0-9]{3})?)
  1. more than a month ago
  2. General
  3. # Permalink
Merklin Accepted Answer
Basic
Hi,

thx for your quick reply. Had to change some values, but your proposal gave me the right direction.

Rgds

Markus
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.