04-17-2013 10:33 AM
Hello,
I want to disable/transform "accents" when user fill this field.
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.
My run script:
WorkflowVariables["Name"]=WorkflowVariables["Name"].toUpperCase();
WorkflowVariables["firstName"]=org.apache.commons.lang.StringUtils.upperCase(WorkflowVariables["firstName"]) ;
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 ?
thank you
04-17-2013 11:19 AM
Hello me,
I got your run script:
WorkflowVariables["name"]=org.nuxeo.common.utils.StringUtils.toAscii(WorkflowVariables["name"]);
04-17-2013 11:19 AM
Hello me,
I got your run script:
WorkflowVariables["name"]=org.nuxeo.common.utils.StringUtils.toAscii(WorkflowVariables["name"]);
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.