Recognition of unsaved items in form controls
AnsweredHello,
I would like to know if there's a way to read out the "dirty flags" of SharePoint to recognize if there are unsaved items in a form or within a control. I have a sublist control placed on a form and I need to do additional work on the unsaved items of this sublist before saving the form.
Best regards
Thomas
-
Hi Thomas Wurm,
what is your use case? What additional work would you like to do on those items?
This will give us inputs to think about different solutions.
Kind regards
Matthias
0 -
Hello Matthias,
I would like to do some data validation in the frontend based on changed fields or entries before persisting data in a SharePoint list. From a programmer's perspective I always try to have "clean" persisted data.
Best regards,
Thomas0 -
Hi Thomas Wurm,
if it's about data validation on the sublist items, could you do this validation directly on the newform of the sublist? We have the possibility of validation expressions on each field or you can also add some type of validation on the save button of the sublist newform.
Kind regards
Matthias
1 -
Hi Matthias,
yes, it's all about validation of data. So using validation expressions could be a good way. I will have a look at it.
Thanks for the hint. This discussion can be closed
Thomas
0
Please sign in to leave a comment.
Comments
4 comments