# Display an array of inputs in javascript

**URL:** https://forum.kirupa.com/t/display-an-array-of-inputs-in-javascript/245913
**Category:** Uncategorized
**Created:** [December 5, 2007, 1:53pm UTC](https://forum.kirupa.com/t/display-an-array-of-inputs-in-javascript/245913 "2007-12-05T13:53:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![forza\_stiinta](https://avatars.discourse-cdn.com/v4/letter/f/bc79bd/32.png) [@forza\_stiinta](https://forum.kirupa.com/u/forza_stiinta)
#### Post date: [December 5, 2007, 1:53pm UTC](https://forum.kirupa.com/t/display-an-array-of-inputs-in-javascript/245913/1 "2007-12-05T13:53:02Z")

</div>

hello again… I keep having trouble with this java script.  
So… I have a form with multimple input text that send the data as an array like this:

```auto
key1: <input type='text' name='keywords[]'>
key2: <input type='text' name='keywords[]'>
key3: <input type='text' name='keywords[]'>
key4: <input type='text' name='keywords[]'>
etc..

```

The idea is that I need a confirmation dialog to ask the user something like “are you sure that key1, key2, key3 are correct” and instead of key1, key2 i need to display what he’s typed in. I did not manage to do this by form.keywords[].value and did not find any other solutions.
