Use cached form variable instead of looking the element up again