When you click one of your letter links it's not submitting the form, is this what you thought should be happening? Are you missing bits from your page, it looks like it's incomplete?
Ade -----Original Message----- From: jackals jackal [mailto:[EMAIL PROTECTED] Sent: 04 March 2005 14:55 To: CF-Talk Subject: Variable problem I got 2 forms (Main & action page). Main has a list & submits a url value depending on item clicked. The url variable now forms part of the query sql in action page. The action page has a long list & search faccility and submits to itself. Its also got alphabets a-z urls which when clicked displays all items starting with the clicked alphabet. The problem is in the action page . I want the submitted url variable to be resubmitted every time a user clicks any alphabet or submits the form in anyway. Tried session but not good 4 me. Lets work along form variables. I tried this in action page - Not working ACTION PAGE <cfif isdefined("url.MainID")> <cfparam name="form.MainIDTemp" default="#url.MainID#"> <cfelse> <cfif isdefined("form.MainID") > <cfparam name="form.MainIDTemp" default="#form.MainID#"> <cfelse> <cfparam name="form.MainIDTemp" default="13"> </cfif> </cfif> <cfparam name="form.MainID" default="#form.MainIDTemp#"> <cfoutput><input type="hidden" name="form.MainID" value="#form.MainIDTemp#"></cfoutput> <FORM ACTION = "ACTION.cfm" METHOD = "get" name="frm" id="frm"> <p><cfoutput><span class="lightbrown"><a href="deletetryomginternestuff.cfm?Url.MainID=#form.MainID#&keyword=a">A</a> | <a href="deletetryomginternestuff.cfm?Url.MainID=#form.MainID#&keyword=b">B</a> | <a href="deletetryomginternestuff.cfm?Url.MainID=#form.MainID#&keyword=c">C</a> | <a href="deletetryomginternestuff.cfm?Url.MainID=#form.MainID#&keyword=x">X</a> | <a href="deletetryomginternestuff.cfm?Url.MainID=#form.MainID#&keyword=all">All </a> |</span> </cfoutput> </p> <cfoutput><input type="hidden" name="form.MainID" value="#form.MainIDTemp#"></cfoutput> </FORM> Immigrant Coder The Jackal ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:197450 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

