0
votes

I have a "primary newform" of list 1 which contains a "secondary newform dataformwebpart" of list 2.

I want enter values for "primary list 1" AND values for "secondary list 2" in one dialog. I want to save the values both in list 1 AND list 2 with one Save button.

The problem is: When I press the "Save" Button, only the values of list 1 ( the primary newform webpart ) will be saved.

How can I fire /trigger the values of "secondary list 2" newform to be saved?

1

1 Answers

0
votes

You can hide the ribbon save and the form save buttons by adding css or jquery into a content editor webpart on your page. Also add a custom save button and replicate the default save buttons style by adding the class attribute and on click event write code to click both the save buttons.