09-17-2010 04:52 AM
<property name="purchase:nurse_id">
<title>Nurse No.</title>
<type>d:int</type>
</property>
<property name="purchase:nurse_name">
<title>Nurse Name</title>
<type>d:text</type>
</property>
add code on "workflow.js" as
// nurse_id: mandatory value
this.modules.form.addValidation(this.id + "-nurse_id", , Alfresco.forms.validation.number, null, "blur");
this.modules.form.addValidation(this.id + "-nurse_id", Alfresco.forms.validation.length);
// nurse_name: mandatory value
this.modules.form.addValidation(this.id + "-nurse_name", Alfresco.forms.validation.mandatory);
this.modules.form.addValidation(this.id + "-nurse_name", Alfresco.forms.validation.length,
after I start the workflow , I cannot see any value in "nurse_name" and "nurse_id" box , nurse_name's value has been display on Description box.09-18-2010 11:31 PM
Tags
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.