Add new text box based of value entered
Posted: Tue Oct 05, 2010 10:27 am
Hi,
Is it possible to add text box based on another value entered in a text box.For example,if a person adds the number of children in a box as 3 ,three new text box should come asking for the name of the children.I tried using if condition in php but when I use <input type="text" name="name1" id="name1" /> inside php tag,error is thrown.
Thanks for the help in advance
Faiz
Is it possible to add text box based on another value entered in a text box.For example,if a person adds the number of children in a box as 3 ,three new text box should come asking for the name of the children.I tried using if condition in php but when I use <input type="text" name="name1" id="name1" /> inside php tag,error is thrown.
Thanks for the help in advance
Faiz