validate, onlyif and $var = now return the value