Hello Its been a while since I looked through my ARS emails so maybe you've had an answer to this by now. But in case you haven't, maybe this might be an option for you. It stops the user from entering more characters than the field can accept (on mid-tier that is) and looks a bit similar to the code that the knowledgebase gave you for the active link. Add the following to the "Source" tab of the fixed view:
<SCRIPT> document.FormFields.F536870919.maxLength="69"; document.FormFields.F536870926.maxLength="50"; </SCRIPT> This goes just before: </BODY></HTML> The number after FormFields.F is the field ID of the field, the length of which you want to restrict. You can put in lots of different fields, separated by semicolons. I used this some time ago with version 5.1.2 (on a windows web server) and it worked on all fields, with the one exception of a field which was 3000 characters long. Hope that helps Isabel -----Original Message----- From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Scott Sent: 30 March 2007 17:02 To: [EMAIL PROTECTED] Subject: Re: Character Counter ** I'm not sure if this went out on to the list, so I am reposting. I look forward to any assistance or advice as the BMC/Remedy Help Desk isn't very enthusiastic about working on a problem to a version that is no longer supported. Thanks, Bruce _____ After searching for clues on javascript on the Remedy KB site, I've found a possible easy solution for my version of mid-tier, however, it doesn't seem to work. Am I doing something wrong? Their solution: Add an active link, firing on Window Loaded, which performs a single run-process action: javascript:document.FormFields.F<FID>.maxLength=<value> ..where <FID> is the database fieldId of the related character field, and <value> is the maximum length of text allowed to be typed in the field. My version of this is: javascript:document.FormFields.F8.maxLength=254; When I put this in place on my dev environment, there is no hard stop. Am I missing something? ARS 5.1.2 p 1313 MidTier 5.1.2 p 1388 Thanks, Bruce _____ The information contained in this electronic mail message, including attachments, if any, is PetSmart confidential information. It is intended only for the use of the person(s) named above. If the reader of this message is not the intended recipient, or has received this message in error, you are hereby notified that any review, dissemination, distribution or copying of this communication is strictly prohibited. If you are not the intended recipient or have received this message in error, please notify the sender via e-mail and promptly delete the original message. _____ __20060125_______________________This posting was submitted with HTML in it___ Support Scotland's Bid to host the 2014 Commonwealth Games in Glasgow - visit www.glasgow2014.com ---------------------------------------------------------------------------- Disclaimer: This message is intended only for use of the addressee. If this message was sent to you in error, please notify the sender and delete this message. Glasgow City Council cannot accept responsibility for viruses, so please scan attachments. Views expressed in this message do not necessarily reflect those of the Council who will not necessarily be bound by its contents. ---------------------------------------------------------------------------- _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"