D2 Properties page validation with attribute substring value
Hello!
I'm trying to validate an attribute "Reference Number" with another attribute/ field "Sub Area" with substring of sub-area in D2's properties page while importing a document.
For example: if the sub-area is "5-Internal" then the Reference number should start with "5". If there's any other number, then it should be validated and given a error flag.
I tried applying uniqueness check but it doesn't work on the same object so I was wondering if there's any other way to validate one attribute based on the value of another in the same properties page ?
Let me know if there are any ideas.
Comments
-
Hi Johnny
I applied regex which applies only numerical values with periods but I'm not sure how I can include the value of another attribute's substring to influence the regex.
For example: I've applied this Regex ^\d+(.\d+)*$ which will limit it to numbers with periods.
0 -
Advanced view editor is available for visibility, required condition but not for validation.0
-
its 16.4
Here's what I see for validation:
0 -
I'm sorry, I didn't quite get it. What do you mean object type level, does it have anything to do with the D2-Config ? Is it the Composer constraints that you're talking about ?
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management