mrackley / StratusForms

Lightweight InfoPath alternative for SharePoint 2007,2010,2013,2016,2019 and Office 365
82 stars 36 forks source link

delete first row of StratusFormsRepeatable section, new rows created after are not saved #67

Open plbowers opened 4 years ago

plbowers commented 4 years ago

Steps to reproduce: (1) Create a form with a data-StratusFormsRepeatable="Y" section (2) Add a 2nd row so that the delete anchor is visible on both the first and 2nd row (3) Delete the first row (this marks it with SFDontSave) (4) Now add a new row (this copies the first row including the SFDontSave) (5) Now save the form

If it works like mine did, you will find that all rows added after step (3) will NOT be saved. They will appear and look great, but they will not be saved.

mrackley commented 4 years ago

Will get this addressed... thanks for uncovering.

Matt15BRJ commented 3 years ago

Does this on mine as well. I went in and took out the code on mine that appended the - to the first row after you add another so that the user can't delete the first one. Seems to have fixed that for now at least.