Related items - validation of parent
- Alexey Babin
- Posts: 23
- Joined: Wed May 11, 2016
- Contact:
Hello,
I'm trying to use the new feature presented in 3.8 - add realted items with button "New item" of internal view. Everethyng works perfect, but when new item is added, default sharepoint validation rules are triggered (a.e. for non-empty fields). Is it possible somehow disable these rules during creation of new relation inem and enable them only when "submit" buton is pressed?
I'm trying to use the new feature presented in 3.8 - add realted items with button "New item" of internal view. Everethyng works perfect, but when new item is added, default sharepoint validation rules are triggered (a.e. for non-empty fields). Is it possible somehow disable these rules during creation of new relation inem and enable them only when "submit" buton is pressed?
When you click "New Item" the default new item form is opened. If there are any SharePoint validation rules specified, they will kick in when you save the item. Am I right to understand that you want to temporarily disable those rules when the form is opened via the related items control in this way?
- Alexey Babin
- Posts: 23
- Joined: Wed May 11, 2016
- Contact:
Not exact. Being on the "New item" form of parent item (i.e. when I'm creating new item, that includes some related items) I have not all fields completed. But part of them are obligatory. I press the "New child item", see the new form and create the child item. When child item is saved (and it's form is closed), all the validation rules of parent item are triggered (and red messages appear for the fields supposed to be filled after user added related items). I want these validation rules of parent to fire only when user wants to save parent item itself.
The case is request for business trip. One section (but not last) is transport, and all the tickets, related to parent request are exact the related items. But after choosing tickets consumer have to fill some other sections, logicaly following.
The case is request for business trip. One section (but not last) is transport, and all the tickets, related to parent request are exact the related items. But after choosing tickets consumer have to fill some other sections, logicaly following.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests