kvarnerexpress 0 Report post Posted March 5, 2006 Okay so what Im trying to figure out is how I would go about giving the people to uh, well for examplkes sake it would be like"how many cats do you have"then theyd fill in a number, submit and the next page would print out boxes for as many cats they have that will be too fill in a color of the cat, so basically something like that, where it will only give them so many fields based on how many they said they have, and then their final "reciept" will only print out stuff for as many as they filled itn Share this post Link to post Share on other sites
gameratheart 0 Report post Posted March 5, 2006 (edited) There are scripts like these available on the web. If you want all your questions to be multiple choice, using drop-downs, then there is a script at this website called Javascript Kit that might satisfy your needs. Edited March 5, 2006 by NDPA (see edit history) Share this post Link to post Share on other sites
jlhaslip 4 Report post Posted March 5, 2006 Notice from jlhaslip: I withdraw my original post. It wasn't what you are looking for. I suggest you visit hotscripts.com and find a suitable script and mod it. You don't seem to give us enough information to allow us to assist. The specifications are just too vague and there are many unknowns here. Do you want to retain the info? What's with this receipt thingy? Is there a database involved? Sounds like too much work to provide an answer on a forum. You want an application written. Or at least most of one.There are methods using php to vary an select menu. Google on "html select menu variable size" to see what you come up with. I get over 2 million responses. There is simply too much guess work in this question for me to assist. Share this post Link to post Share on other sites
cafefort 0 Report post Posted March 29, 2006 Hi You can do it this way: <?phpfunction inputline($i){ echo "<input type=text name=cat$i />";}if (isset($_POST["number"])){ echo "<form action=\"nextaction.php\">"; for ($i=0,$i<$_POST["number"];$i++) inputline($i); echo "<input type=submit name=ok value= send />"; echo "</form>";}else{//show the first page here}?> that's a draft of course, you can improve thishope this helps Share this post Link to post Share on other sites