Update Multiple Fields In Form

i want to delete a row when click “X” button (it’s a multiple fields in my form)

5491

supp.PNG

Give same class name to all fields in a row and other same class name to 2nd row’s fields respectively and then on click of X target by class name of that row’s field and remove row using JavaScript.

Please give me the javascript code that can i follow it to delete a ligne from database because i tried many javascript functions the problem is the inputs are inside the view form of my controller

It depends on how are you managing these fields in database and displaying on view, could you share code that you using to understand for better solution.

Thank you very much bro, it’s resolved :D