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]
- re: Checking <input, Cont'd thread from yesterday Bushy
- RE: Checking <input, Cont'd thread from yesterday Pascal Peters
- RE: Checking <input, Cont'd thread from yesterday Pascal Peters
- RE: Checking <input, Cont'd thread from yesterday Pascal Peters
- RE: Checking <input, Cont'd thread from yesterday Pascal Peters