Update validity direction without modifying input parameter state
Place constant into markup template