From c083c732ad0db41b6abc344fdb50a2c116000058 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Wed, 18 Mar 2015 16:01:54 -0700 Subject: [PATCH 1/3] Update README.md --- README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 743e96d..c4774d9 100644 --- a/README.md +++ b/README.md @@ -115,11 +115,12 @@ By default, the fields property is an empty array. When an empty array, all fiel Default Fields property - "fields": [], + "fields": {}, Modified fields property - fields:[{ + fields:{ + "GeoForm_Sample_3731": [{ "name": "email", // field ID "alias": "Email", // label "fieldDescription": "Let us contact you.", // help text @@ -127,7 +128,8 @@ Modified fields property "typeField": false, // subtype field? "tooltip": "test@test.com", // placeholder text "displayType": "email" // text, checkbox, radio, textarea, url, email - }] + }] + } #### Configuring Application Details @@ -157,8 +159,20 @@ If you'd like the map to be reset after each submission, set this option to true Use this text option to tell users what kind of file to attach. - "attachmentLabel": "Cat Image", - "attachmentHelpText": "Select a cat photo!", + "attachmentInfo": { + "GeoForm_Sample_3731": { + "enableAttachments": false, + "attachmentIsRequired": false, + "attachmentLabel": "", + "attachmentHelpText": "" + }, + "Test_secured_geoform_9625": { + "enableAttachments": true, + "attachmentIsRequired": false, + "attachmentLabel": "", + "attachmentHelpText": "" + } + } #### Use Small Header From 5e4391b07a5bd052d5a735a428a0a3f78e0d4541 Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Wed, 18 Mar 2015 16:09:22 -0700 Subject: [PATCH 2/3] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c4774d9..b18ccf9 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,12 @@ Setting the layer ID like so: "form_layer": { "id": "GeoFormTryItLive_v3_7854" }, + +If you'd like to use all layers: + + "form_layer": { + "id": "All" + }, #### Configuring Fields From 231b0d0c5bfbb9f2df35c96775c9d822924945da Mon Sep 17 00:00:00 2001 From: Matt Driscoll Date: Thu, 19 Mar 2015 09:44:40 -0700 Subject: [PATCH 3/3] Update README.md --- README.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/README.md b/README.md index b18ccf9..772a8ba 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,26 @@ Use this template in an ArcGIS organization or portal application by changing th "sharinghost": "http://myorg.maps.arcgis.com", +#### Reset to default extent on submission + + defaultMapExtent: true, + +#### Basemap Toggle Dijit + + enableBasemapToggle: false, + +#### Basemap Toggle next basemap + + nextBasemap: "hybrid", + +#### Basemap Toggle default basemap + + defaultBasemap: "topo", + +#### Automatically locate user on page load + + locate: false, + ## Localizing the template If you'd like to use this template with a language that is not currently supported, please follow these instructions to translate the template for a new locale.