Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

guestbook form submit

Mar 9, 2005 11:48PM PST

form inputs user's homepage address

how to add target="_blank" to this field submission ?

hidden ?

Discussion is locked

- Collapse -
Form submissions...

target="_blank" is meant to go with your <form ... > tag and not part of the <input> tag.

e.g.

<form method="post" action"scriptname" target="_blank">
.
.
.
</form>

this will force the browser to open a new window upon clicking the submit key.

- Collapse -
not the concept
Mar 11, 2005 1:00PM PST

when the form is submited
the users website address is active
on the view guestbook page

want to add target="_blank" to html link
on view guestbook page
when form is submitted
so user is not taken from my site

for the time being view guestbook
is opening in new window so users website
opens there but want to keep site navigation
and user's site open in new window