allow birthday to be entered with separators

This commit is contained in:
Romain Bignon 2015-01-21 10:40:03 +01:00
commit a43068648b
2 changed files with 3 additions and 2 deletions

View file

@ -46,7 +46,7 @@ class INGModule(Module, CapBank, CapBill):
regexp='^(\d{6}|)$'),
ValueBackendPassword('birthday',
label='Date de naissance',
regexp='^(\d{8}|)$',
regexp='^(\d{2}[/-]?\d{2}[/-]?\d{4}|)$',
masked=False)
)
BROWSER = IngBrowser