HomeUsing LincDoc 3.0DANG Rule WizardRequired condition

7.4. Required condition

Required conditions allow the administrator to force entry of a field's value based upon information only available during execution of an eForm.    

For example, consider the situation where multiple points of contact for a customer are desired, but you would only require them to enter one.   The required contact point is designated by the user as their preferred point of contact.   In this example, the form would have data fields for home phone (contact_ph), email (contact_email), and cell phone (contact_cell_ph).   There is an additional list (contact_optlist) where the user selects the best contact option from the three.   The field that is required is based on the user's selection.

  1. On the Fields/Sections tab, select the contact_ph field.   
  2. Click on the Required submenu arrow and select new condition.
  3. You may leave the defaulted condition name or change it.
  4. In this example it is a simple condition based on a single field value.   Select the field contact_optlist in the first drop down list.
  5. Our comparison selection should be Equal.
  6. When the field selection is a list type the value field is automatically filled with the list's options.   Select "Home Phone" as the value.
  7. The condition is now defined as "contact_ph_required when contact_optlist equals Home Phone".
  8. Select OK to continue.
  9. The new condition "contact_ph_required" is now listed as the condition selection for the Required attribute.
  10. These steps would be repeated for the contact_email field where contact_optlist equals Email and for the contact_cell_ph field where contact_optlist equals Cell Phone
 
 
 



 

Knowledge Tags
DANG  / 

This page was: Helpful | Not Helpful