Thanks Duncan. Giles Roadnight http://giles.roadnight.name
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 05 February 2004 15:18 To: [EMAIL PROTECTED] Subject: Re: [ cf-dev ] Soeditor form validation Hi Giles If your field is called Description, your soEditor field is called soEditorDescription. So you'd just use document.soEditorDescription.value. I think that will work. Or at least you can call the soEditor functions this way, e.g. document.soEditorDescription.updateFormField(). Also remember not everyone will see the soEditor, e.g. Mac users, and anyone not using IE. So you've got to ensure your code takes into account that you've either got the soEditorDescription, or just Description. We use something like this: if(!(!document.all && document.getElementById)) { // got soEditor soEditorDescription.updateFormField(); } Duncan Cumming IT Manager http://www.alienationdesign.co.uk mailto:[EMAIL PROTECTED] Tel: 0141 575 9700 Fax: 0141 575 9600 Creative solutions in a technical world ---------------------------------------------------------------------- Get your domain names online from: http://www.alienationdomains.co.uk Reseller options available! ---------------------------------------------------------------------- ---------------------------------------------------------------------- "Giles Roadnight" To: <[EMAIL PROTECTED]> <[EMAIL PROTECTED] cc: ght.name> Subject: [ cf-dev ] Soeditor form validation 05/02/2004 15:09 Please respond to dev Is there a way of getting at the contents of a soEditor field in a form? I want to be able to check that it is not empty so that I can shout at the user if they have not entered anything. Thanks Giles Roadnight http://giles.roadnight.name -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED] -- ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] For human help, e-mail: [EMAIL PROTECTED]
