add form to input links