Put this in the field: On rawkeydown pKey If numtochar(pKey) <> linefeed then pass rawkeydown End rawkeydown
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Claire Bradin Siskin Sent: Wednesday, January 18, 2006 9:41 PM To: use-revolution@lists.runrev.com Subject: How to remove a carriage return from a field? In my stack, the user enters identifying information into a field, and this text is used to build a filename for ftp upload. This works fine as long as the user does not enter a carriage return at the end of the field. If the user does press "enter," this messes up the upload. How can I script it so that any carriage returns are removed from the field? Suggestions for actual scripts would be very much appreciated since I am a newbie. :-) Thanks very much, -- Claire Bradin Siskin http://edvista.com/claire/ _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution