<?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: IE problem to paste multiple lines of values in Enhanced Search Widget  in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792055#M4234</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/220751"&gt;Liang Jiang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I do not agree &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; With this code - written ages ago - you do not paste multiple lines in the IE text box. Instead you convert a multi line string in a single line string before pasting it..... And this would only be necessary for IE, because modern browsers do not mind pasting multi line strings. So this would require an additional check, to see what browser is being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again: I would suggest to forget about Internet Explorer altogether &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Nov 2019 17:06:49 GMT</pubDate>
    <dc:creator>Egge-Jan_Pollé</dc:creator>
    <dc:date>2019-11-07T17:06:49Z</dc:date>
    <item>
      <title>IE problem to paste multiple lines of values in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792050#M4229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When to copy a multiple lines of value from Notepad or Excel and paste them to to the text box in Enhanced Search Widget, Chrome, Edge and Firefox all can handle it well and work charmingly. However the user prefers IE and IE can only take the first line of values. Any suggestion to fix this? Many thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/472591_IE problem to paste multiple lines of values in Enhanced Search Widget.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2019 18:27:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792050#M4229</guid>
      <dc:creator>LiangJiang1</dc:creator>
      <dc:date>2019-11-06T18:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: IE problem to paste multiple lines of values in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792051#M4230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/220751"&gt;Liang Jiang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You more or less answer the question by posing it. You mention several modern browsers who handle the pasting of multiple lines of value very well.&lt;/P&gt;&lt;P&gt;If the user chooses to stick with good "old" Internet Explorer, he/she should accept the limitations of this application...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 09:11:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792051#M4230</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-11-07T09:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: IE problem to paste multiple lines of values in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792052#M4231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are right. Sometime it is better to convince the users to give up IE.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 16:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792052#M4231</guid>
      <dc:creator>LiangJiang1</dc:creator>
      <dc:date>2019-11-07T16:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: IE problem to paste multiple lines of values in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792053#M4232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I poke around.&amp;nbsp;&lt;A href="https://www.brandonpugh.com/" style="color: #2e2e2e; background: transparent; text-decoration: none;"&gt;Brandon Pugh&lt;/A&gt;&amp;nbsp;post a solution and code in his blog&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.brandonpugh.com/blog/2011/10/allow-pasting-multiple-lines-in-ie-textbox/"&gt;https://www.brandonpugh.com/blog/2011/10/allow-pasting-multiple-lines-in-ie-textbox/ &lt;/A&gt;&lt;BR /&gt; if (window.clipboardData) {&lt;BR /&gt; $('#textboxId').bind('paste', function (e) {&lt;BR /&gt; var clipped = window.clipboardData.getData('Text');&lt;BR /&gt; clipped = clipped.replace(/(\r\n|\n|\r)/gm, " "); //replace newlines with spaces&lt;BR /&gt; $(this).val(clipped);&lt;BR /&gt; return false; //cancel the pasting event&lt;BR /&gt; });&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Time to digest the Enhanced Search Widget and inject the code above.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 16:54:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792053#M4232</guid>
      <dc:creator>LiangJiang1</dc:creator>
      <dc:date>2019-11-07T16:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: IE problem to paste multiple lines of values in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792054#M4233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you think my answer is right, you might mark it as the correct one &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 16:54:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792054#M4233</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-11-07T16:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: IE problem to paste multiple lines of values in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792055#M4234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/220751"&gt;Liang Jiang&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, I do not agree &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; With this code - written ages ago - you do not paste multiple lines in the IE text box. Instead you convert a multi line string in a single line string before pasting it..... And this would only be necessary for IE, because modern browsers do not mind pasting multi line strings. So this would require an additional check, to see what browser is being used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again: I would suggest to forget about Internet Explorer altogether &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Egge-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 17:06:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792055#M4234</guid>
      <dc:creator>Egge-Jan_Pollé</dc:creator>
      <dc:date>2019-11-07T17:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: IE problem to paste multiple lines of values in Enhanced Search Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792056#M4235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;User likes the convenience to copy multiple rows of parcel number from excel.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Microsoft should update their IE for the IE lovers.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 18:06:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/ie-problem-to-paste-multiple-lines-of-values-in/m-p/792056#M4235</guid>
      <dc:creator>LiangJiang1</dc:creator>
      <dc:date>2019-11-07T18:06:52Z</dc:date>
    </item>
  </channel>
</rss>

