joromecox's avatar

Adding multiple records to a database at once

Hi, i am new to laravel and i have never attempted this before. How would i accommodate an invoice which consists of many lines? I'd like to accomplish adding lines dynamically e.g click "new line" and another identical inline form appears to input data.

0 likes
1 reply
jlrdw's avatar

First get yourself familiar with dynamically adding a row using whatever javascript library you plan on using. But be warned javascript is not turned on on all browsers. Next try yourself, and when you have question show here the question with your code properly formatted.

Unless t-- decides to write out whole thing for you.

Please or to participate in this conversation.