FORMURL2ATTRIBUTES is croaking on the field names in the form. sp-q and sp-a
are invalid variable names, so when the tag tries to create attribute scoped
variables using those names, CF pukes.
What I don't see is why the form is being processed by FORMURL2ATTRIBUTES at
all. If the form call is straight out to atomz.com, it shouldn't get processed
by your site.
- Jeff
On 7 Dec 00, at 14:04, Jim Priest wrote:
> Anyone ever use Atomz (www.atomz.com) search service with Fusebox?
> I've used it on previous CF sites and it has worked well, but this is
> the first time with Fusebox and I'm not entirely sure how to call it
> from inside my fuse?
>
> Basically you sign up and they give you some simple HTML to
> cut-n-paste into your site:
>
>
> <form method="get" action="http://search.atomz.com/search/">
> <input size=15 name="sp-q"><br>
> <input type=submit value="Search">
> <input type=hidden name="sp-a" value="00011-00003">
> </form>
>
> But just dumping it into one of my fuses throws a CF error:
> ======================================
> Error Diagnostic Information
> An error occurred while evaluating the expression:
> refindnocase("[[:alpha:]]",left(trim(field),1)) and NOT ISDEFINED(
>'Caller.ATTRIBUTES.' & trim(field) )
>
> Error near line 83, column 56.
> --------------------------------------------------------------------------------
> Parameter 1 of function IsDefined which is now "Caller.ATTRIBUTES.SP-Q" must be a
>syntactically valid variable name
> The error occurred while processing an element with a general identifier of (CFIF),
>occupying document position (83:3) to (83:112).
>
> ======================================
>
> Any ideas?
> Jim
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists