I want to Thank Ken and Christopher for their input on this topic at
last nights meeting.

I have begun implementing Ken's suggestion of Clicking on a select box
and having the field input into the text area.

The Javascript works for a regular <textarea> tag however the same
code will not work with the <cftextarea>.  Is there any special syntax
that I need to do to get the javascript to work with the <cftextarea>
tag

below is the code i am using to update the textarea

var k =
document.forms(0).fields.options[document.forms(0).fields.selectedIndex].value;
document.forms(0).textbody.value = k;

This exact javascript works when I change the <cftextarea> tag to a
<textarea> tag, but does nothing for a <cftextarea>.

Thanks,

Mike

On Oct 4, 12:57 pm, "Mike Demahy" <[EMAIL PROTECTED]> wrote:
> Mike,
>
> Thanks for the Drag and Drop help.  I have just had the time to look at it
> since returning from the conference.  I think this will help.
>
> Mike Demahy
> 713-418-6707
> [EMAIL PROTECTED]
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
>
> Of Mike Gillespie
> Sent: Thursday, September 27, 2007 1:37 PM
> To: Houston ColdFusion Users' Group
> Subject: [houcfug] Re: Drag and Drop
>
> Mike,
>
> Take a look at this page.  I think this may do what you are looking
> for at the cost of a few brain cells...
>
> http://www.openrico.org/demos?demo=drag_and_drop_simple
>
> On Sep 26, 4:23 pm, "Mike Demahy" <[EMAIL PROTECTED]> wrote:
> > Hello everyone,
>
> > I am writing a mail merge program for my users.  I am using the new Rich
> > Text editor in a textarea with CF8.  What I want to do is allow the user
> to
> > create their letter and add code words that represent fields like
> > [community], [ClientName], etc in the letter, then when I mail merge the
> > document replace the fields with the actual data, then use cfdocument to
> > create a PDF.  All of this works great.
>
> > What I want  to do now is add a list of fields in a select box next to the
> > textarea  that the user can drag and drop fields from the select box to
> the
> > textarea. That will eliminate any miss-spelled code names.
>
> > Does anyone know of some code that will do this. I have seen it somewhere
> > but can't remember where.
>
> > Thanks,
>
> > Mike Demahy
>
> > 713-418-6707
>
> > [EMAIL PROTECTED] Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Houston ColdFusion 
Users' Group" discussion list.
To unsubscribe, send email to [EMAIL PROTECTED]
For more options, visit http://groups.google.com/group/houcfug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to