OK/Cancel prompt with carriage returns

This is a sample OK/Cancel prompt for the user to proceed, which includes carriage returns ( \n ).

//prompt user with Ok/Cancel
messagetext = 'Please note that the Tax Year is not the same as the Payment Date Year for this payment entry.' + ' \n' +  ' \n' + 'In most cases the Tax Year should be the same as the year the payment was made.  If this payment relates to a Tax Payment you can select the Country and Tax Payment Year that the payment relates to.' + ' \n' +  ' \n' + 'Please select "Cancel" to change the Tax Year, or "OK" to proceed and save the payment.'

if (result==true) {
	//Go ahead and resume formula functions

Posted by fbrefere001 on Friday February 10, 2006