Template:Dataformview Submission settings: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 7: Line 7:
* '''Show edited entries inline''' – When editing one or more entries the view will display the edited entries blended with other entries according to their display order.
* '''Show edited entries inline''' – When editing one or more entries the view will display the edited entries blended with other entries according to their display order.
====Submission buttons====   
====Submission buttons====   
=====Save button=====
*'''Save''' - Saves the edited entry and returns to the view.
This button will save the edited entry and return to the view.
*'''Save and Continue''' - Saves the edited entry and continues editing.
=====Save and Continue button=====
*'''Save as New''' - Saves the edited entry as a new entry and returns to the view.
This button will save the edited entry and continue editing.
*'''Save and Start New''' - Saves the edited entry and opens a new entry form.
=====Save as New button=====
*'''Save as New and Continue''' - Saves the edited entry as a new entry and opens a new entry form.
This button will save the edited entry as a new entry and return to the view.
*'''Cancel''' - Cancels submission and returns to the view.
=====Save and Start New button=====
This button will save the edited entry and open a new entry form.
=====Save as New and Continue button=====
This button will save the edited entry as a new entry and continue to edit the new entry.
=====Cancel button=====
This button will cancel submission and return to the view.
====Redirect to another view====
====Redirect to another view====
By default the user remains in the same view after entry submission. If an alternate view is selected, the user will be redirect to that view after submission.  
By default the user remains in the same view after entry submission. If an alternate view is selected, the user will be redirect to that view after submission.  

Revision as of 21:09, 8 February 2014

Submission

The submission settings allow you to determine the behaviour of the view when editing entries. Depending on your activity application, you can display different submission buttons with default or custom labels, display all or only the edited entries and show a response to the submission. Note that in order to apply the submission settings you must enable at least one submit button.

Display when editing

  • Show only edited entries – (Default) When editing one or more entries the view will display only the edited entries.
  • Show edited entries separate – When editing one or more entries the view will display the edited entries above the rest of the entries.
  • Show edited entries inline – When editing one or more entries the view will display the edited entries blended with other entries according to their display order.

Submission buttons

  • Save - Saves the edited entry and returns to the view.
  • Save and Continue - Saves the edited entry and continues editing.
  • Save as New - Saves the edited entry as a new entry and returns to the view.
  • Save and Start New - Saves the edited entry and opens a new entry form.
  • Save as New and Continue - Saves the edited entry as a new entry and opens a new entry form.
  • Cancel - Cancels submission and returns to the view.

Redirect to another view

By default the user remains in the same view after entry submission. If an alternate view is selected, the user will be redirect to that view after submission.

Response timeout

The delay (in seconds) after submission and before the user is redirected to the target view.

Response to submission

A message to display to the user after successful submission and before the user is redirected to the target view.