Template:Dataformview Submission settings: Difference between revisions

From MoodleDocs
No edit summary
No edit summary
Line 1: Line 1:
===Submission===
===Submission===
The submission settings allow you to determine the behaviour when editing entries. Depending on the application, you can display different submission buttons with default or custom labels, you can display all or only the edited entries and show a response to the 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====
====Display when editing====
Short name for the view. The view name can be used in certain view patterns in which case the format of the name should as simple as possible, only alpha or alphanumeric characters, to avoid pattern parsing problems.  
* '''Show only edited entries''' – (Default) When editing one or more entries the view will display only the edited entries.
====Save button====
* '''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 button=====
This button will save the edited entry and return to the view.
This button will save the edited entry and return to the view.
====Save and Continue button====
=====Save and Continue button=====
This button will save the edited entry and continue editing.
This button will save the edited entry and continue editing.
====Save as New button====
=====Save as New button=====
This button will save the edited entry as a new entry and return to the view.
This button will save the edited entry as a new entry and return to the view.
====Save and Start New button====
=====Save and Start New button=====
This button will save the edited entry and open a new entry form.
This button will save the edited entry and open a new entry form.
====Save as New and Continue button====
=====Save as New and Continue button=====
This button will save the edited entry as a new entry and continue to edit the new entry.
This button will save the edited entry as a new entry and continue to edit the new entry.
====Cancel button====
=====Cancel button=====
This button will cancel submission and return to the view.
This button will cancel submission and return to the view.
====Redirect to another view====
====Redirect to another view====
Line 20: Line 24:
The delay (in seconds) after submission and before the user is redirected to the target view.  
The delay (in seconds) after submission and before the user is redirected to the target view.  
====Response to submission====
====Response to submission====
A message to display to user after successful submission and before the user is redirected to the target view.
A message to display to the user after successful submission and before the user is redirected to the target view.

Revision as of 21:00, 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 button

This button will save the edited entry and return to the view.

Save and Continue button

This button will save the edited entry and continue editing.

Save as New button

This button will save the edited entry as a new entry and return 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

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.