diff --git a/components/elements/index.js b/components/elements/index.js
index 2b1a5062..16f7a2f5 100644
--- a/components/elements/index.js
+++ b/components/elements/index.js
@@ -231,6 +231,35 @@ export function NumericField(props) {
);
}
+export function DecimalField(props) {
+ const { name, label } = props;
+
+ return (
+
+
+
+
+ Must be between 6 and 8 digits long
+
+
+
+ );
+}
+
export function ReadOnlyfield(props) {
const { name, label } = props;
diff --git a/components/newappeal/buildfield.js b/components/newappeal/buildfield.js
index 9626a762..f201b373 100644
--- a/components/newappeal/buildfield.js
+++ b/components/newappeal/buildfield.js
@@ -10,6 +10,7 @@ import {
MultiLinefield,
NumericField,
ReadOnlyfield,
+ DecimalField,
} from "../elements";
export default function BuildField(props) {
@@ -76,7 +77,12 @@ export default function BuildField(props) {
);
break;
case "{C3EFE0C3-0EC6-42be-8349-CBD9079DFD8E}":
- return " decimal";
+ return (
+
+ );
break;
default:
return (
diff --git a/components/newappeal/buildsection.js b/components/newappeal/buildsection.js
index 53d7af9a..9ed8a2b7 100644
--- a/components/newappeal/buildsection.js
+++ b/components/newappeal/buildsection.js
@@ -7,7 +7,6 @@ import BuildRow from "./buildrow";
const BuildSection = (props) => {
useEffect(() => {
- document.title = `You clicked ${currentSection} times`;
window.scrollTo(0, 0);
});
@@ -32,6 +31,13 @@ const BuildSection = (props) => {
doc
);
+ var titleList = xpath.select(
+ "//form/tabs/tab[*]/labels/label/@description",
+ doc
+ );
+
+ console.log(titleList);
+
const handleParam = (setValue) => (e) => setValue(e.target.value);
const basicSearch = (event) => {
@@ -42,7 +48,7 @@ const BuildSection = (props) => {
return (
-
+
+
+
);
};