Page 1 of 1

custom attribute - limit digit within <> value - HowTo?

PostPosted: Fri Jan 20, 2017 7:03 pm
by panini
Hi,

I've created a little mess, and am step by step trying to learn how to improve and how to correct.
Suppose I create a custom attribute, called year. It consists of 4 digits ####.
How can I e.g. limit the 3rd digit to be between >6 - 9< ?
So in the example only 7 and 8 would pass.

Thanks for your help!

Erwin

Re: custom attribute - limit digit within <> value - HowTo?

PostPosted: Tue Jan 24, 2017 2:46 pm
by Mr_Noodle
You can try creating another condition where the custom attribute is on the left hand side. You can try something like "•Mycustomdate is after specific date <Dec 31 1959>" and "•Mycustomdate is before specific date <Jan 1 2000>" to try and limit it to dates within those decades.