The input class was getting " text" appended again. Fixed by cloning the elements in HTML::FormFu::result()