<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Limit size of numeric fields in widget geoprocessing with javascript mask in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/limit-size-of-numeric-fields-in-widget/m-p/815320#M6967</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to limit the size of the longitude and latitude fields of a geoprocessing widget I have customized. I need to have a maximum of 6 decimal places, and only typing numbers, comma, and the hyphen character should be allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use a javascript function that I developed, but I can not run it inside the widget, such as onkeypress = "myFunction ()". I always get an invalid template error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried using the code below, but it does not limit the amount of characters at the time of typing, ie I need to block typing the seventh decimal place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips on how I can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;BR /&gt;Gilberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Dec 2016 15:52:18 GMT</pubDate>
    <dc:creator>GilbertoMatos</dc:creator>
    <dc:date>2016-12-15T15:52:18Z</dc:date>
    <item>
      <title>Limit size of numeric fields in widget geoprocessing with javascript mask</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/limit-size-of-numeric-fields-in-widget/m-p/815320#M6967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to limit the size of the longitude and latitude fields of a geoprocessing widget I have customized. I need to have a maximum of 6 decimal places, and only typing numbers, comma, and the hyphen character should be allowed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use a javascript function that I developed, but I can not run it inside the widget, such as onkeypress = "myFunction ()". I always get an invalid template error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried using the code below, but it does not limit the amount of characters at the time of typing, ie I need to block typing the seventh decimal place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any tips on how I can do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;BR /&gt;Gilberto.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 15:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/limit-size-of-numeric-fields-in-widget/m-p/815320#M6967</guid>
      <dc:creator>GilbertoMatos</dc:creator>
      <dc:date>2016-12-15T15:52:18Z</dc:date>
    </item>
  </channel>
</rss>

