coldfusion flash integration:
I can't figure out how to get rid of the scroller on the right hand side or how
to center the form ....
Please help, and THANKS in Advance!!!
:confused;
<cfform format="flash" name="requestform" width="750" height="450"
skin="haloblue" style="background-color:##4696CB;">
<!--- To layout our four panels, we use an enclosing <cfformgroup type="hbox">
container that lets us position its
contents horizontally --->
<div align="left"><em></em></div>
<cfformgroup type="hbox">
<!---
<cfformgroup type="panel" label="Requests" width="300"
style="panelBorderStyle:'roundCorners'; headerColors:##D6EFFE, ##D6EFFE;
fontSize:12; text-align: left;">
<!--- The grid's data comes from a query, specified in the "query"
attribute of the <cfgrid> tag ---><cfgrid name="contactList"
<div align="center"></div>
<!--- query="contactsQuery" hidden since not connected to a db yet--->
rowheaders="false">
<cfgridcolumn name="DepartureDate" header="Departure Date" />
<cfgridcolumn name="Destination" header="Destination" />
<cfgridcolumn name="Status" header="Status" /></cfgrid>
</cfformgroup>--->
<!--- The background color in this is the white for the form --->
<cfformgroup type="panel" width="650" label="Destination"
style="panelBorderStyle:'roundCorners'; headerColors:##D6EFFE, ##D6EFFE;
backgroundColor:##FFFFFF; fontSize:12; text-align: left;">
<cfscript>
country = queryNew("countryid,name");
queryAddRow(country);
querySetCell(country, 'countryid','1');
querySetCell(country, 'name','California');
queryAddRow(country);
querySetCell(country, 'countryid','2');
querySetCell(country, 'name','New York');
queryAddRow(country);
querySetCell(country, 'countryid','3');
querySetCell(country, 'name','Arizona');
queryAddRow(country);
querySetCell(country, 'countryid','4');
querySetCell(country, 'name','Illinois');
city = queryNew("countryid,name,cityid");
addRow(city, '1','Laguna Beach','LB' );
addRow(city, '1','Los Angeles','LA' );
addRow(city, '1', 'Newport Beach', 'NB');
addRow(city, '1', 'San Francisco' ,'SF');
addRow(city, '1', 'San Diego' ,'SD');
addRow(city, '2', 'Manhattan' ,'M');
addRow(city, '2', 'Brooklyn' ,'B');
addRow(city, '3', 'Phoenix' ,'P');
addRow(city, '3', 'Elgin' ,'E');
addRow(city, '3', 'Tucson' ,'T');
addRow(country, '4','Chicago', 'C');
function addRow( rs, countryid, name, cityid)
{
queryAddRow(city);
querySetCell(city,'countryid',countryid);
querySetCell(city,'name',name);
querySetCell(city,'cityid',cityid);
}
</cfscript>
<cfsavecontent variable="actionPopulate">
if(_global.arrCities == undefined) _global.arrCities =
selectCity.dataProvider.slice(0);
var arrCities:Array = _global.arrCities; selectCity.removeAll(); for(var i =
0;
i < arrCities.length; i++) { var item = arrCities[i].data.split('|');
if(item[1]
== selectCountry.value ) { selectCity.addItem(arrCities[i].label,item[0]); } }
selectCity.enabled = (selectCity.length >0) ? true:false; </cfsavecontent>
<!--- Display for Country-picklist - Part B of 3 --->
<cfformgroup type="hbox"> <cfformitem type="hrule" />
<cfselect queryposition="below" label="Country" name="selectCountry"
query="Country" value="countryid"
display="name" width="200" required="Yes"
onChange="#actionPopulate#">
<option>Please select a Country</option>
</cfselect>
<cfselect queryposition="below" disabled="true" label="City"
name="selectCity" width="200" required="Yes">
<cfoutput query="city">
<option value="#cityid#|#countryid#">#name#</option>
</cfoutput>
</cfselect>
</cfformgroup>
<!--- Set initial selected and blocked-out dates.--->
<cfparam name="Form.startdate" default="#dateformat(now()-5,
'mm/dd/yyyy')#">
<cfparam name="Form.enddate" default="#dateformat(now()-1,
'mm/dd/yyyy')#">
<b>Please select a date on the calendar.</b><br>
<br>
<cfformgroup type="Horizontal" label="Arriving In-Country:">
<cfinput type="dateField" name="startdate" width="100"
value="#Form.startdate#" required="Yes">
<cfinput type="dateField" name="enddate" label="Departing" width="100"
value="#Form.enddate#" required="Yes">
</cfformgroup>
<cfformgroup type="horizontal" label="Age">
<cfinput name="Age" type="radio" label="18-30" value="18-30" />
<cfinput name="Age" type="radio" label="31-40" value="31-40" />
<cfinput name="Age" type="radio" label="41 and over" value="41 and over" />
<cfinput name="Age" type="radio" label="Just give me jojo" value="Just give
me jojo" />
</cfformgroup>
<cfformgroup type="panel" label="Sponsor" style="headerColors:##D6EFFE,
##D6EFFE; fontSize:12; text-align: left;">
<cfformgroup type="Horizontal" label="Sponsor Name, Dept:">
<cfinput type="Text" name="SponsorName" width="150" required="Yes">
<cfinput type="text" name="SponsorDept" width="150" required="Yes">
</cfformgroup>
<cfinput type="text" name="SponsorNumber" width="200" label="Sponsor
Contact:" validate="noblanks,telephone" required="Yes">
<cfinput type="Text" name="Locations" label="Locations to be visited:"
width="250" required>
<cfinput type="Text" name="BusReason" label="Business Reason for this
trip" width="300" required>
</cfformgroup>
<cfformgroup type="panel" label="Submit Request"
style="headerColors:##D6EFFE, ##D6EFFE; fontSize:12; text-align: left;">
<cfinput name="check1" type="checkbox" label=" I have read the
briefing for the above location and hereby request permission to travel.
" enabled="true" required="yes"/>
<cfinput type="Submit" name="submitBtn" value="Submit">
</cfformgroup>
</cfformgroup>
<p></cfformgroup>
</cfform>