i have the following script.

the only problem i'm having w/ it is this:

i need my "AddressLCRULE" to be incorporated into this. it will be the
MetaPlusBookCaps. this rule will make all my letters typed in lowercase.
this is all i need to make this work. any suggestions?

//var input = "a1b2c3"; // to test
var input = Field("Address");

var result = "";
for (var i = 0; i < input.length; i++)
{
if ("1234567890".indexOf(input[i]) != -1)
result += "<f name=MetaPlusBookRoman>";
else
result += "<f name=MetaPlusBookCaps>";

result += input[i];
}

return result;

--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED] 
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to