hello,

I am working on a custom form for a cms system in coldfusion.  what i am doing 
is attempting to set a new option in a dropdown list to be 5 custom.

when you click on the edit button a new window pops up which gives you the 
course.edit.cfm.  within this window is the dropdown list i am working on.  i 
have gotten it to load the new page but it is loading in the same window as the 
first popup.  i need it to load in a new window so that once i complete the 
selection of members it will allow me to complete the course editing and select 
update.

this is the function code:

function customMembers(objAccess) {
    if (objAccess.options[objAccess.selectedIndex].value == "5"){
        
window.open('members.custom.cfm?course=<cfoutput>#url.course#</cfoutput>', 
'CMS','width=750,height=600,scrollbars=1,resizable=1,status=1,toolbars=1')
     }
}

this is where it is being referenced in the page:

<td>
<select class="fieldElement" name="accessLevelID" onChange="showCategory(this, 
this.form.memberCategoryID); customMembers(this);">
<option value="1"<cfif qryCourse.accessLevelID eq 1> selected</cfif>>All 
Learners
<option value="2"<cfif qryCourse.accessLevelID eq 2> selected</cfif>>Non-USAID 
Learners Only
<option value="3"<cfif qryCourse.accessLevelID eq 3> selected</cfif>>USAID 
Learners Only
<option value="4"<cfif qryCourse.accessLevelID eq 4> selected</cfif>>CMS Users
<option value="5"<cfif qryCourse.accessLevelID eq 5>selected</cfif>>Custom Users
</select>
</td>


any help or suggestions would be greatly appreciated


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303877
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to