<?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 Re: In Mashup Text field should allow only integer value in ThingWorx Developers</title>
    <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049710#M71091</link>
    <description>&lt;P&gt;To let you know, in Thingworx 10.1 the &lt;A href="https://support.ptc.com/help/thingworx/platform/r10.1/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/TextFieldWidgetThemable.html" target="_blank"&gt;Text Field Widget (Themable)&lt;/A&gt;&amp;nbsp;got improvement by a property called&amp;nbsp;&lt;STRONG&gt;NumericInputMode.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With this you can set only numeric entries, decimals or integers. &lt;EM&gt;(the&amp;nbsp;Numeric Entry widget has become a Legacy Widget)&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Jan 2026 09:29:34 GMT</pubDate>
    <dc:creator>AdamK_93</dc:creator>
    <dc:date>2026-01-05T09:29:34Z</dc:date>
    <item>
      <title>In Mashup Text field should allow only integer value</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1048387#M71060</link>
      <description>&lt;P&gt;Hi, I have a scenario where in Thingworx mashup there is a text field it should allow only integer. Other than that any text entered it should show "Please enter integer value". How to achieve this?&lt;BR /&gt;Thningworx version 9.6&lt;/P&gt;&lt;P&gt;Can anyone help on this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 08:08:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1048387#M71060</guid>
      <dc:creator>SV_14424458</dc:creator>
      <dc:date>2025-12-19T08:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: In Mashup Text field should allow only integer value</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1048423#M71064</link>
      <description>&lt;P&gt;Any chance you can use the Numeric Entry widget instead? Because it was made for that. It comes with a title and a tooltip.&lt;/P&gt;
&lt;P&gt;Otherwise you can use a TextField with attribute HintText to indicate the user needs to enter a number, plus validation as explained here:&amp;nbsp;&lt;A href="https://support.ptc.com/help/thingworx/platform/r9.6/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/ApplyingValidationRulesToWidgets.html" target="_blank" rel="noopener"&gt;https://support.ptc.com/help/thingworx/platform/r9.6/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/ApplyingValidationRulesToWidgets.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You would bind the Validate event to an expression of type "Validator", add a text parameter and this code:&lt;/P&gt;
&lt;PRE&gt;if (text.match(/[^\d]+/g))&lt;BR /&gt;output="invalid";&lt;BR /&gt;else&lt;BR /&gt;output="valid";&lt;/PRE&gt;
&lt;P&gt;Probably add a plus/minus to the regex if negative ints are acceptable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Dec 2025 13:02:29 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1048423#M71064</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2025-12-19T13:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: In Mashup Text field should allow only integer value</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049103#M71075</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/1030242"&gt;@SV_14424458&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;It appears that this &lt;A href="https://community.ptc.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1048423#M71064" target="_blank"&gt;post &lt;/A&gt;may answers your question.&amp;nbsp; For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.&lt;BR /&gt;&lt;BR /&gt;In the event that this response did not answer your question, please post your current status so that we can continue to support.&lt;BR /&gt;&lt;BR /&gt;Thanks for using the PTC Community!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Abhi&lt;/P&gt;</description>
      <pubDate>Fri, 26 Dec 2025 17:07:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049103#M71075</guid>
      <dc:creator>abandal</dc:creator>
      <dc:date>2025-12-26T17:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: In Mashup Text field should allow only integer value</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049710#M71091</link>
      <description>&lt;P&gt;To let you know, in Thingworx 10.1 the &lt;A href="https://support.ptc.com/help/thingworx/platform/r10.1/en/index.html#page/ThingWorx/Help/Mashup_Builder/Widgets/TextFieldWidgetThemable.html" target="_blank"&gt;Text Field Widget (Themable)&lt;/A&gt;&amp;nbsp;got improvement by a property called&amp;nbsp;&lt;STRONG&gt;NumericInputMode.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;With this you can set only numeric entries, decimals or integers. &lt;EM&gt;(the&amp;nbsp;Numeric Entry widget has become a Legacy Widget)&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 09:29:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049710#M71091</guid>
      <dc:creator>AdamK_93</dc:creator>
      <dc:date>2026-01-05T09:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: In Mashup Text field should allow only integer value</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049711#M71092</link>
      <description>&lt;P&gt;For the record, TWX 10.1 doubles down on using TextField, by providing better options and making Numeric Entry legacy.&lt;/P&gt;
&lt;P&gt;See "enabling numeric input mode" here:&amp;nbsp;&lt;A href="https://support.ptc.com/help/thingworx/platform/r10.1/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/TextFieldWidgetThemable.html" target="_blank"&gt;https://support.ptc.com/help/thingworx/platform/r10.1/en/#page/ThingWorx/Help/Mashup_Builder/Widgets/TextFieldWidgetThemable.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 09:32:35 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049711#M71092</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2026-01-05T09:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: In Mashup Text field should allow only integer value</title>
      <link>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049712#M71093</link>
      <description>&lt;P&gt;Beat me by 3 minutes!&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jan 2026 10:14:39 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/ThingWorx-Developers/In-Mashup-Text-field-should-allow-only-integer-value/m-p/1049712#M71093</guid>
      <dc:creator>Rocko</dc:creator>
      <dc:date>2026-01-05T10:14:39Z</dc:date>
    </item>
  </channel>
</rss>

