Skip to content

Commit 350aff6

Browse files
Update README.md
1 parent aae5b87 commit 350aff6

File tree

1 file changed

+5
-0
lines changed
  • Client-Side Components/Client Scripts/Hide Dependent Choice field if there no dependent choices

1 file changed

+5
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
Hide the dependent choice field when there are no available options for the selected parent choice.
2+
23
For example, if a selected category on the incident form has no subcategories, then the subcategory field should be hidden.
4+
5+
The file NumberOfDependentChoices.js is a client callable script include file which has a method which returns number of dependent choices for a selected choice of parent choice field.
6+
7+
HideDepnedentField.js is client script which hides the dependent choice field(ex:subcategory field on incident form) if there are no active choices to show for a selected choices of it's dependent field (example: category on incident form)

0 commit comments

Comments
 (0)