I tried changing the "GET" to "POST" and changed the <cfform to just <form but it still won't work. I have no doubt that it works for you. There MUST be something in my
code thats cloberring it.
Ths code below is being pulled in with a <cfinclude along with other files. Must be something in those files then?
--Original Message Text---
From: Pascal Peters
Date: Wed, 8 Oct 2003 15:54:25 +0200
I reexamined your code and you are using the method "get" on your form. Normally, this wouldn't matter because you are using cfform (it will change it to post), but try
using "post" anyway. Also, you can turn on debug info to see what form and url vars exist (or just dump them in your code, remember: the form and url struct always
exist). The code I sent absolutely works, I've used it many times.
-----Oorspronkelijk bericht-----
Van: Bushy [mailto:[EMAIL PROTECTED]
Verzonden: wo 8/10/2003 14:03
Aan: CF-Talk
CC:
Onderwerp: RE: Checking <input, Cont'd thread from yesterday
I just tried the below and all it returns is "Do Nothing". See below:
<cfif IsDefined("form.redirect") AND Len(Trim(form.redirect))>
Run Query
<cfelse>
Do nothing
</cfif>
Is there something wrong with my <input> syntax? It looks like something is getting clobbered.
--Original Message Text---
From: Pascal Peters
Date: Wed, 8 Oct 2003 13:43:44 +0200
<cfif IsDefined("form.redirect") AND Len(Trim(form.redirect))>
<!--- run query --->
</cfif>
Pascal
-----Oorspronkelijk bericht-----
Van: Bushy [mailto:[EMAIL PROTECTED]
Verzonden: wo 8/10/2003 13:37
Aan: CF-Talk
CC:
Onderwerp: re: Checking <input, Cont'd thread from yesterday
Hi all,
I've used all the suggestions from this list but I still can't get it to work. I've included my code. I've also left in the code that I'm using to test.
Basically what I want to happen is this.
The file is loaded but the <cfquery I don't want to run unless some text is entered in the <input box and the "Jump" button is clicked. The file reloads itself but this time runs
the <cfquery. The cfquery get run ONLY if text is entered in the <input and ONLY then.
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

