Question
geturl() post help
I am trying to fake a form submit with a button that is
supposed to execute geturl based on the user setting the url value
by clicking on radio buttons. I don't know the syntax for Post with
geturl() or quite sure how to get the value of radiobuttons. Any
help would be great.
<CFSAVECONTENT variable="change">
if (reportName.selectedItem.data == "1"){
getURL("page1.cfm", "_blank");
} else if (selectName.selectedItem.data == "2") {
getURL("page2.cfm", "_blank");
}
</CFSAVECONTENT>
<cfform action="" target="_blank" method="post" name="form1" preloader="no" format="flash" height="400" width="300" skin="halosilver"timeout="6000">
<cfinput type="radio" name="" value="1" label="Full Commission Detail" >
<cfinput type="radio" name="" value="2" label="Full Commission Detail" >
<cfinput name="CreateReport" type="button" value="" onChange="#change#">
</cfform
<CFSAVECONTENT variable="change">
if (reportName.selectedItem.data == "1"){
getURL("page1.cfm", "_blank");
} else if (selectName.selectedItem.data == "2") {
getURL("page2.cfm", "_blank");
}
</CFSAVECONTENT>
<cfform action="" target="_blank" method="post" name="form1" preloader="no" format="flash" height="400" width="300" skin="halosilver"timeout="6000">
<cfinput type="radio" name="" value="1" label="Full Commission Detail" >
<cfinput type="radio" name="" value="2" label="Full Commission Detail" >
<cfinput name="CreateReport" type="button" value="" onChange="#change#">
</cfform
