It seems like it is not working. I tried Length rule but it didn't work.

Comments

qasimzee’s picture

g089h515r806’s picture

When field validation module validate Hierarchical Select field data.
The data already be converted to key value.

For example, you have a field "field_zone", it is a term reference field.
In Hierarchical Select field, you select:
"China" >> "Beijing" >> "Haidianqu",

You want to validate the length of "Haidianqu", But in field validation, the value have been converted to a term id such as "1234".

I am not sure if this is your use case.

qasimzee’s picture

My issue is not only with the length, my issue is that is there any validator in field validation that can check if any term was selected or not? Please help

Thanks

g089h515r806’s picture

Status: Active » Closed (fixed)

Already support validate against term name. I think this has been fixed.