Errol Farro
asked on
Coldfusion retrieve dynamic values
I am using Jquery to produce dynamic text fields. The result of the form is as per the below.
How can I retrieve the content of myText[] for each field using Coldfusion?
<form method="post" action="collect_vals.cfm">
<div class="input_fields_wrap">
<button class="add_field_button">A dd More Fields</button>
<div><input type="text" name="mytext[]"></div>
<div><input type="text" name="mytext[]"></div>
<div><input type="text" name="mytext[]"></div>
<div><input type="text" name="mytext[]"></div>
<div><input type="text" name="mytext[]"></div>
</div>
</form>
How can I retrieve the content of myText[] for each field using Coldfusion?
<form method="post" action="collect_vals.cfm">
<div class="input_fields_wrap">
<button class="add_field_button">A
<div><input type="text" name="mytext[]"></div>
<div><input type="text" name="mytext[]"></div>
<div><input type="text" name="mytext[]"></div>
<div><input type="text" name="mytext[]"></div>
<div><input type="text" name="mytext[]"></div>
</div>
</form>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.