Kory: The original author did not utilize that particular type of document. Before I started digging through your examples, is it safe for me to assume that the switch documents simply place the often-used switch into a single file? Or is there a bit more to your method?
Keith Purtell, Web/Network Administrator VantageMed Operations (Kansas City) CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Behalf Of Kory Bakken > Sent: Monday, April 05, 2004 9:03 AM > To: [EMAIL PROTECTED] > Subject: RE: [KCFusion] Form failure within FuseBox > > > Keith, > > One thing I notice right off the bat is that your switch > statements are located in your index.cfm file instead of an > fbx_switch document. Does the app you are using use > fbx_cicuits, fbx_settings, fbx_layouts, and fbx_switch? > > I've included a few sample documents on how we employ the > methodology. The index, circuits, and fbx_fusebox30_cf50 > document all go in the root. A version of the settings, > layouts, and switch files goes in each directory in the app. > > Kory Bakken > > -----Original Message----- > From: Keith Purtell [mailto:[EMAIL PROTECTED] > Sent: Friday, April 02, 2004 2:43 PM > To: KCFusion (E-mail) > Subject: [KCFusion] Form failure within Fusebox > > > This is in the Fusebox newbie category. My main page contains > two forms, each with a distinct name > and purpose. Only the second form, which is supposed to > search a database, does not work. It fails > silently. I can see in the debug that the form variables were > passed. One important clue is that > "fuseaction" and its value are not appearing in the URL > (SearchCriteria does appear). This is > probably one of those embarrassingly obvious errors, but I'll > take the risk to solve it. Here are > several relevant snippets ... > > ---FIRST TEMPLATE--- > <FORM NAME="srchhwdb" > ACTION="index.cfm?fuseaction=SearchRecs" ENCTYPE="multipart/form-data" > METHOD="post"> > Search: <INPUT type="text" size="15" name="SearchCriteria" > VALUE="under revision"> > <INPUT type="submit" value="Go"> > </FORM> > > > --FROM INDEX.CFM PG--- > <cfswitch expression="#fuseaction#"> > <CFCASE value="SearchRecs"> > <CFINCLUDE template="qry_searchresults.cfm"> > </CFCASE> > > > ---FROM QRY_SEARCHRESULTS--- > <CFQUERY name="SearchEvents" > datasource="#Application.DataSourceName#" dbtype="ODBC"> > SELECT * > FROM EventsCalendar > WHERE EventName LIKE '%#srchhwdb.SearchCriteria#%' > </CFQUERY> > > (at one time I also used LIKE '%#Form.SearchCriteria#%') > > > Keith Purtell, Web/Network Administrator > VantageMed Operations (Kansas City) >
<<attachment: winmail.dat>>
