This is a code to enter date, select in/out and location.
If the user want more fields to enter i also added a addRow function.
<table>
for($i=0;$i<15;$i++){
<tr><td>
<input type='datepick' name='scheduledatepick[$i]' />
<select name='schedulein[$i]' /><option>--</option>
<input type='text' name='location[$i]' />
</td></tr>
}
</table>
Now my question is if a user entered a field in a row(maybe datepick or schedulein or location) then he must enter all the other fields in that same row. How to achieve this?

Assuming you want this to happen on a button click, you can do this: Working Demo
jQuery
CSS