add redirect on html input type hidden