add hidden value directive