diff --git a/components/newappeal/buildfield.js b/components/newappeal/buildfield.js
index e8d5e5c7..508807bb 100644
--- a/components/newappeal/buildfield.js
+++ b/components/newappeal/buildfield.js
@@ -1,20 +1,17 @@
-import Link from "next/link";
-import { useRouter } from "next/router";
import useTranslation from "next-translate/useTranslation";
-import xpath from "xpath";
-
+import { useRouter } from "next/router";
import {
- Textfield,
+ CheckBoxfield,
DateFieldPicker,
- YesNofield,
- PickList,
- MultiLinefield,
- NumericField,
- ReadOnlyfield,
DecimalField,
FileUploadField,
- CheckBoxfield,
+ MultiLinefield,
+ NumericField,
+ PickList,
Radiofield,
+ ReadOnlyfield,
+ Textfield,
+ YesNofield,
} from "../elements";
export default function BuildField(props) {
@@ -71,6 +68,10 @@ export default function BuildField(props) {
validation={props.validation}
setDocumentsList={props.setDocumentsList}
documentList={props.documentList}
+ form={props.props.props.form}
+ formProps={props.props.props.props.form}
+ parentField={props.parentField}
+ parentFieldShowOnValue={props.parentFieldShowOnValue}
/>
);
break;
@@ -181,6 +182,7 @@ export default function BuildField(props) {
.ticketnumber
}
documentTypeCode={props.documentTypeCode}
+ hint={props.hint}
/>
);
diff --git a/data/formsxml/nonvalidation.xml b/data/formsxml/nonvalidation.xml
index 6103d6aa..c1bbf14c 100644
--- a/data/formsxml/nonvalidation.xml
+++ b/data/formsxml/nonvalidation.xml
@@ -2,111 +2,24 @@
-
+
-
+
|
-
+
|
-
- |
-
-
-
-
-
-
- true
-
-
- false
-
-
- false
-
-
- false
-
-
- {9AC51863-58C7-49A0-ADCC-AFD9A4C3EE59}
-
-
- false
-
-
-
- |
-
-
- |
-
-
-
-
-
-
- true
-
-
- false
-
-
- false
-
-
- true
-
-
- {0ABD7146-7DE5-EB11-AAC5-00224800BE9C}
-
-
- false
-
-
-
- |
-
-
- |
-
-
-
-
-
-
- true
-
-
- false
-
-
- false
-
-
- true
-
-
- {EF816E54-E5D5-EB11-AAC5-00224800BE9C}
-
-
- false
-
-
-
- |
-
@@ -115,7 +28,7 @@
-
+
@@ -126,19 +39,19 @@
-
+ |
-
+
-
+
|
|
-
+ |
-
+
-
+
|
|
@@ -158,7 +71,7 @@
-
+ |
@@ -181,30 +94,6 @@
|
|
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
@@ -212,99 +101,14 @@
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
+
-
+
@@ -315,19 +119,67 @@
-
+ |
-
+
-
+
|
|
-
+ |
-
+
-
+
+ |
+ |
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
|
@@ -340,24 +192,14 @@
-
-
- |
-
-
-
-
- |
-
-
-
+
-
+
@@ -368,27 +210,11 @@
-
+ |
-
+
-
- |
- |
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
+
|
@@ -398,111 +224,11 @@
-
-
-
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
- |
-
-
-
-
- |
-
-
-
@@ -518,11 +244,35 @@
|
-
+
|
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
+
+ |
+
+
+
+
+ |
+
@@ -530,36 +280,4 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-