enter validate by js