Esri / storymap-crowdsource

DEPRECATED: The Story Map Crowdsource℠ app enables you to publish and manage a crowdsourced story to which anyone can contribute photos with captions. https://storymaps.arcgis.com/en/app-list/crowdsource/
https://www.esri.com/arcgis-blog/products/story-maps/announcements/story-map-crowdsource-mature-support/
Apache License 2.0
21 stars 40 forks source link

Enforce number data types #7

Closed tannerjt closed 7 years ago

tannerjt commented 7 years ago

In regards to validations, what is the best way to validate an input field to be of type: number? I have several fields that are of type 'esriFieldTypeDouble' that I need to validate upon form submit, or onBlur.

tannerjt commented 7 years ago

It would be preferable to be able to specify the field as type: 'number' in the crowdsource layer config.

ssylvia commented 7 years ago

Yep, that should be pretty easy to do.

tannerjt commented 7 years ago

Thank you! I'll try this out tonight.

tannerjt commented 7 years ago

Works great, thanks again.