Jump to content

Form with mutliple sub entries


Staggan

Recommended Posts

Hello.

 

How can I have a single form which has a number of standard fields in it, say date and name.... but for that same date and name I want to add multiple additional entries for say phone calls recieved... (silly example I know)

 

How can I enter the standard data once and an undefined amount of phone calls received ? without having to put a maximum number of possible entry fields on the page.... ?

 

So, say my Form is :

 

 

<form action="myform.php" method="post">

<p>Date: <input type="text" date="date" /><br />

Name: <input type="text" name="name" /></br>

 

 

Call From: <input type="text" call_from="call_from" /></br>

 

<p><input type="submit" value="Send it!"></p>

</form>

 

 

If I have 50 calls for  that person I only want to enter their name and the date once and then add as many calls as needed...

 

 

How can I do it?

 

Thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/251249-form-with-mutliple-sub-entries/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.