Ran into this while trying to refactor EFSPIntegration / MAPetitionToSealEviction stuff, so all e-filing interviews can login without a separate tab.
Code to reproduce below: all 3 fields on the screen will require their inputs to match the validation for the first field.
imports:
- re
---
event: done
question: idk
---
mandatory: True
code: |
new_password
done
---
question: |
Create an account
fields:
- Password: new_password
under text: |
Password must be at least 6 characters with a least one letter and one number or symbol.
validate: |
lambda p: re.match("^.*(?=.{6,})(?=.*[a-zA-Z])(?=.*[\\d\\W]).*$", p)
- code: |
[{ "label": "ignore the rule above", "field": "random_text"}]
- code: |
[{ "label": "type anything", "field": "random_text2"}]
Ran into this while trying to refactor EFSPIntegration / MAPetitionToSealEviction stuff, so all e-filing interviews can login without a separate tab.
Code to reproduce below: all 3 fields on the screen will require their inputs to match the validation for the first field.