Changes

Submit Logic

No change in size, 18:13, 21 March 2014
no edit summary
* '''"@level1.Proposal.filename@"!=""''' - Ensures you have a Proposal uploaded in the single file upload on the Level 1.
* '''"@level1.Plan Details.numofpages@"<=6''' - Ensures the number of pages for a PDF file upload field is not more than six pages
* '''"@level1.type@"!="New Grant"||"@level1.xml.ExternalPeers.peer.peer.nodecount@">2''' - Ensures that the level 1 type is 'New Grant' and number of nodes/ items entered in the XML worksheet is greater than 2 items.
* '''@level1.Amount Awarded.value@ <= 500000''' - Ensures that the ''Amount Awarded'' field is under $500,000. The ''.value'' is necessary when the ''Amount Awarded'' field is stored in currency format.
* ''' INSTR("@level1.[#(?object=activity::criteria=typename='Referee Form' and statusname='Submitted' and eownerid=@me.userid@)~index~#]@","1")=0''' - Ensures the current user can't submit more than 1 review
* '''CONVERT("@level1.fieldname.length@",SIGNED INTEGER) > 0''' - Checks is rich text field Ensures that ''fieldname'' is not empty.
==Message Construction==
8,849
edits