<?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 workflow: form: input text : how to remove accents ? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-form-input-text-how-to-remove-accents/m-p/319251#M6252</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I use workflow nuxeo on nuxeo 5.6.&lt;/LI&gt;
&lt;LI&gt;I have a field "firstname" that user fill on a node form.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I want to disable/transform "accents" when user fill this field.&lt;/P&gt;
&lt;P&gt;I through I could use js script or a run script with the good code if this solution is not yet proposed by nuxeo workflow-node-form-inputText, but, I don't know where I have to call it in nuxeo studio interface.&lt;/P&gt;
&lt;P&gt;My run script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;WorkflowVariables["Name"]=WorkflowVariables["Name"].toUpperCase();
WorkflowVariables["firstName"]=org.apache.commons.lang.StringUtils.upperCase(WorkflowVariables["firstName"]) ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I still got accent, it's just in uppercase...
Do you have a "run script" solution to remove accents on an input field with nuxeo studio ?&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;</description>
    <pubDate>Wed, 17 Apr 2013 14:33:38 GMT</pubDate>
    <dc:creator>milonette_</dc:creator>
    <dc:date>2013-04-17T14:33:38Z</dc:date>
    <item>
      <title>workflow: form: input text : how to remove accents ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-form-input-text-how-to-remove-accents/m-p/319251#M6252</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I use workflow nuxeo on nuxeo 5.6.&lt;/LI&gt;
&lt;LI&gt;I have a field "firstname" that user fill on a node form.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I want to disable/transform "accents" when user fill this field.&lt;/P&gt;
&lt;P&gt;I through I could use js script or a run script with the good code if this solution is not yet proposed by nuxeo workflow-node-form-inputText, but, I don't know where I have to call it in nuxeo studio interface.&lt;/P&gt;
&lt;P&gt;My run script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;WorkflowVariables["Name"]=WorkflowVariables["Name"].toUpperCase();
WorkflowVariables["firstName"]=org.apache.commons.lang.StringUtils.upperCase(WorkflowVariables["firstName"]) ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;But I still got accent, it's just in uppercase...
Do you have a "run script" solution to remove accents on an input field with nuxeo studio ?&lt;/P&gt;
&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Wed, 17 Apr 2013 14:33:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-form-input-text-how-to-remove-accents/m-p/319251#M6252</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-04-17T14:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: workflow: form: input text : how to remove accents ?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/workflow-form-input-text-how-to-remove-accents/m-p/319252#M6253</link>
      <description>&lt;P&gt;Hello me,&lt;/P&gt;
&lt;P&gt;I got your run script:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;WorkflowVariables["name"]=org.nuxeo.common.utils.StringUtils.toAscii(WorkflowVariables["name"]);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 17 Apr 2013 15:19:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/workflow-form-input-text-how-to-remove-accents/m-p/319252#M6253</guid>
      <dc:creator>milonette_</dc:creator>
      <dc:date>2013-04-17T15:19:16Z</dc:date>
    </item>
  </channel>
</rss>

