Made form optional when using link method