Difference between revisions of "Set a Default Value"

From IMSMA Wiki
Jump to: navigation, search
 
(5 intermediate revisions by 3 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==
+
==Setting Default Radio Button==__NOEDITSECTION__
 
[[Image:RadioButtons.png|thumb|right|100px]]
 
[[Image:RadioButtons.png|thumb|right|100px]]
 
#Locate a radio buttons list in the Data Entry Form Template Designer window.
 
#Locate a radio buttons list in the Data Entry Form Template Designer window.
Line 9: Line 9:
 
#Click '''Submit''' to close the Component Property Editor window.
 
#Click '''Submit''' to close the Component Property Editor window.
  
==Setting Default Combo Box Option==
+
{{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__
 
[[Image:ComboBox.png|thumb|right|100px]]
 
[[Image:ComboBox.png|thumb|right|100px]]
 
#Locate a combo box in the Data Entry Form Template Designer window.
 
#Locate a combo box in the Data Entry Form Template Designer window.
Line 19: Line 21:
 
#Click '''Submit''' to close the Component Property Editor window.
 
#Click '''Submit''' to close the Component Property Editor window.
  
==Setting Default Checkboxes==
+
==Setting Default Checkboxes==__NOEDITSECTION__
 
[[Image:MultiSelectList.png|thumb|right|100px]]
 
[[Image:MultiSelectList.png|thumb|right|100px]]
 
#Locate a multiple selection list in the Data Entry Form Template Designer window.
 
#Locate a multiple selection list in the Data Entry Form Template Designer window.
Line 29: Line 31:
  
 
{{NavBox HowTo Data Entry Forms}}
 
{{NavBox HowTo Data Entry Forms}}
 +
 +
[[Category:NAA]]

Latest revision as of 14: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.