Problem/Motivation
It would be good and practical to have tokens available on field conditions (like min, max, etc)
Steps to reproduce
Using a Field Validation rule, insert on the text box tokens related to the current node being evaluated.
Proposed resolution
Change the FieldValidationRule, function validate() in order to scan for tokens and replace them.
Remaining tasks
Develop the changes.
User interface changes
None, or at least a help line saying that tokens can be used.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3255775-token_support.patch | 1.33 KB | jrochate |
Comments
Comment #2
jrochate commentedI have made a simple patch on DateRange and only for nodes.
This is a simple idea to make it grow to another use cases.
If I need more validations with token I will keep updating this.
Comment #4
g089h515r806 commentedI made some changes for the patch.
Committed.
Comment #5
g089h515r806 commented