# Document.write using form values

**URL:** <https://forum.kirupa.com/t/document-write-using-form-values/207308>\
**Category:** Uncategorized\
**Created:** [November 16, 2006, 11:51am UTC](https://forum.kirupa.com/t/document-write-using-form-values/207308 "2006-11-16T11:51:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keljnr](https://avatars.discourse-cdn.com/v4/letter/k/e8c25b/32.png) [@keljnr](https://forum.kirupa.com/u/keljnr)\
**Post date:** [November 16, 2006, 11:51am UTC](https://forum.kirupa.com/t/document-write-using-form-values/207308/1 "2006-11-16T11:51:39Z")

</div>

document.write using submitted form values, How would I go about doing this?

Im wanting the user to type some information into a simple form, which when submitted shows the values as normal text, in a new page.

Its so the user can print off the information they have inputted.

I thought about using prompt();, but due to the amount of questions, it would only get messy.

eg:  
_var fullName = prompt(“Full enter your FULL name”, “”);_  
_document.write("Full name: " + fullName);_

please advise,

Thanks.

:hugegrin:
