> paul gordon wrote:
> 
> >>>paul gordon wrote:
> >>>      
> >>>
> >>I haven't done that, just tried the Flash form.
> >>    
> >>
> >
> >Hooray! I've actually got the field to display the number of the 
> person selected.
> >
> >Is there a way of preserving the number and adding further numbers to 
> the same field?
> >  
> >

Hi Stephen,

I'm trying to implement your way of doing things, but can only get so far.

What would the "_root.phonelist" refer to in my code?

It is still only adding one mobile number, and I think this would be the reason 
- sorry if I sound dumb!
> <cfsavecontent variable="variables.namechange">
> var myClickHandler = function (evt){
    
> var thisPhoneList = _root.phonelist;
    
> if (evt.detail == mx.controls.Alert.OK){
        
> if (thisPhoneList.value.length >0)  thisPhoneList.value.length = 
> thisPhoneList.value.length+',';
           
> thisPhoneList.value.length = 
> thisPhoneList.value.length+fartist.selectedItem.data;
    
> }
> }
> alert("Are you sure you want to add this mobile number?", "Warning", 
> mx.controls.Alert.OK | mx.controls.Alert.CANCEL, myClickHandler);
> </cfsavecontent>
> 
> <cfquery name="getArtists" datasource="cfartgallery">
> SELECT *
> FROM ARTISTS
> </cfquery>
> <cfform method="get" preloader="no" format="flash" skin="haloblue">
> <cfselect name="fartists" query="getArtists" display="FIRSTNAME" 
> value="PHONE" onchange="#variables.namechange#">
> 
> </cfselect>
> <cftextarea name="phonelist" label="Selected Mobile Numbers" 
> enabled="false" height="10" width="30" />
> </cfform>
> 
> Again, typed straight into the email, so there may be errors (make 
> sure you turn on flash debugging in the CF administrator, while you're 
> developing your form), but it should be about right.
> 
> Stephen
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218399
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to