Why use a javascript function, when remedy can do it. Add a display only integer field and then create an active link to set the display integer field to the length of the character field minus the character to allow. The field now contains how many character you are over. Then do another active link with a runif that checks for greater then 0 and the action of the active link pops an error with a message that say it is to big with the number of characters in the integer field.
Rocky Rocky Rockwell Remedy Application Designer Wk Phone: 214-567-8874 Cell: 214-663-7229 [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> ________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Bala Patel Sent: Friday, October 31, 2008 12:44 PM To: [email protected] Subject: Mid-Tier - Checking the number of characters in a Char field. All, ARS 7.1 ARS Server Mid-Ter 7.01 Tomcat Does someone know of a way add a javascipt function into a Mid-Tier Active Link or a Forms Webpage to check the number of characters in a character field? I tried a function that was posted on the list which is not working. We have a character field on a form that we only want 50 characters typed into it. Regards, Bala Patel Remedy Independent Consultant __Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are" html___

