0
edits
Changes
no edit summary
result.addMsg('cf_@Project Start Date.id@', 'Project Start Date is a required field.');
}</pre>
===Validation on a Select Many Checkbox Field===
result.addMsg('cf_@Additional Email 1.id@','Please enter a valid e-mail address.');
}</pre>
===Validate that the status of the organization is Active===
{result.isPassed=false;
result.addMsg('Please update your Organization Profile then return to this record and click Submit Application.');
}</pre>
===Validation on a Note Enabled Multiple-Line custom field===
When validating against a Note Enabled field, within the result.addMsg() alert you will need to include '''h''' in-front of the custom field reference.
<pre>if(form.getStr("cf_notefield")==""){
result.isPassed= false;
result.addMsg("cf_h@notefield.id@","You must type in a description before submitting for revisions.");
}</pre>