diff --git a/src/main/webapp/formdefinitions/poiForm.json b/src/main/webapp/formdefinitions/poiForm.json index d795e4ef6dd3615d52550bbb93ad008d308b867b..fbb1808a68733ba8baf1a5cd91475f436da8881b 100755 --- a/src/main/webapp/formdefinitions/poiForm.json +++ b/src/main/webapp/formdefinitions/poiForm.json @@ -71,7 +71,9 @@ { "name" : "userId", "dataType" : "INTEGER", - "required" : false + "fieldType" : "SELECT_SINGLE", + "required" : true, + "nullValue" : "-1" }, { "name" : "externalResourceIdentifier", diff --git a/src/main/webapp/formdefinitions/weatherStationForm.json b/src/main/webapp/formdefinitions/weatherStationForm.json index ba42241810dcfc9bed499b9ba68a0b9a3284055a..1bc2f92be78d4c23f1a599bada42d9b7102684ba 100755 --- a/src/main/webapp/formdefinitions/weatherStationForm.json +++ b/src/main/webapp/formdefinitions/weatherStationForm.json @@ -77,7 +77,9 @@ { "name" : "userId", "dataType" : "INTEGER", - "required" : false + "fieldType" : "SELECT_SINGLE", + "required" : true, + "nullValue" : "-1" }, { "name" : "externalResourceIdentifier",