Difference between revisions of "Set a Default Value"

From IMSMA Wiki
Jump to: navigation, search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
You can set default values for any list field on a Data Entry Form template. This includes single selection lists (radio buttons or combo boxes), and multiple selection lists (checkboxes). Default values are pre-selected whenever users open a a new Data Entry Form.
+
You can set default values for any list field on a Data Entry Form template. This includes single selection lists (radio buttons or combo boxes), and multiple selection lists (checkboxes). Default values are pre-selected whenever users open a new Data Entry Form.
  
 
==Setting Default Radio Button==__NOEDITSECTION__
 
==Setting Default Radio Button==__NOEDITSECTION__
Line 8: Line 8:
 
#Select the '''Default Value''' option.
 
#Select the '''Default Value''' option.
 
#Click '''Submit''' to close the Component Property Editor window.
 
#Click '''Submit''' to close the Component Property Editor window.
 +
 +
{{Note | When there is only one option left in the template for a single-select field then it is '''highly''' recommended to make it '''both''' [[Set Required Fields | '''required''']] and default.}}
  
 
==Setting Default Combo Box Option==__NOEDITSECTION__
 
==Setting Default Combo Box Option==__NOEDITSECTION__
Line 30: Line 32:
 
{{NavBox HowTo Data Entry Forms}}
 
{{NavBox HowTo Data Entry Forms}}
  
[[Category:ELR]]
+
[[Category:NAA]]

Latest revision as of 13:49, 4 December 2018

You can set default values for any list field on a Data Entry Form template. This includes single selection lists (radio buttons or combo boxes), and multiple selection lists (checkboxes). Default values are pre-selected whenever users open a new Data Entry Form.

Setting Default Radio Button

RadioButtons.png
  1. Locate a radio buttons list in the Data Entry Form Template Designer window.
  2. Select the radio button you want as the default value.
  3. Click Properties to open the Component Property Editor window.
  4. Select the Default Value option.
  5. Click Submit to close the Component Property Editor window.
Note.jpg When there is only one option left in the template for a single-select field then it is highly recommended to make it both required and default.

Setting Default Combo Box Option

ComboBox.png
  1. Locate a combo box in the Data Entry Form Template Designer window.
  2. Select the combo box widget.
  3. Click Properties to open the Component Property Editor window.
  4. Click Custom Options Editor to open the Combo Box Options Display window.
  5. Set the default option by selecting a radio button in the Default column.
  6. Click Submit to close the Combo Box Options Display window.
  7. Click Submit to close the Component Property Editor window.

Setting Default Checkboxes

MultiSelectList.png
  1. Locate a multiple selection list in the Data Entry Form Template Designer window.
  2. Select the checkbox you want as the default value.
  3. Click Properties to open the Component Property Editor window.
  4. Select the Default Value option.
  5. Click Submit to close the Component Property Editor window.
  6. Repeat steps 2-4 for any additional default values.