Your form shouldn't be making a round trip to the server like that when
you click on an anchor link.  It sounds like the browser is getting
confused.

Make sure the spelling and case of your link with the #continue on it is
EXACTLY the same as the link that gets you to the form in the first
place.  Even tho NTFS isn't case sensitive, the HTTP protocol *is*.
Browsers have to assume that DisplayForm.cfm and displayform.cfm are two
different pages.  Make sure you use the same spelling & capitalization
everywhere, and you shouldn't get the "error resolving parameter" since
the page shouldn't be sent back the server at that point anyways...

That said, the suggestion of using CFPARAM to define all the variables
you expect to get is a very good one -- you should always try to
gracefully handle any kind of end user error rather than have CF throw
up an ugly cryptic error message.

In this particular case, tho, you shouldn't ever be getting to that
error since the browser shouldn't be re-requesting this page from the
server.  It already has a copy of it in cache, and assuming all your
URLs are setup right, it'll just jump around on the page as it should.

Best regards,
Zac Bedell

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, June 20, 2001 4:45 PM
> To: CF-Talk
> Subject: Re: How to set up jumps within a CF form?
> 
> 
> Thanks.  When I used double hashes, the form worked ok.  
> However, when I clicked on the jump my computer, instead of 
> going to the target spot, read the code from the very 
> beginning of the form and coming across empty field values 
> (because, after all, I'm still making the form and I haven't 
> filled it in yet), gave me the following error message:
> 
> "Error resolving parameter CUSTFIRSTNAME
> 
> ColdFusion was unable to determine the value of the parameter."
> 
> This is a problem, because I'm building this form as a 
> demonstration, and the person evaluating it is likely to 
> check if the jump works before putting in data.  How can I 
> stop my computer from reading the code above the jump?
> 
> Hubert
> 
> ---
> Hubert Earl
> 
> ICQ#: 16199853
> 
> My Jamaican Art, Craft & More Online Store: 
> http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html
> Check out the art print bargains available! Beautiful prints 
> as low as US$7.50 each, less if you purchase 2 or more. Also 
> being sold:  the Genealogy of Jamaica CD-ROM
> 
> 
> ----- Original Message -----
> From: Don Vawter <[EMAIL PROTECTED]>
> To: CF-Talk <[EMAIL PROTECTED]>
> Sent: Wednesday, June 20, 2001 2:15 PM
> Subject: Re: How to set up jumps within a CF form?
> 
> 
> > Escape the hash -  displayform.cfm##continue
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Wednesday, June 20, 2001 9:43 AM
> > Subject: How to set up jumps within a CF form?
> >
> >
> > > Hi,
> > >
> > > I'd like to enable the user of a form I'm creating to be able to 
> > > jump
> from
> > one section to the other.  However, the HTML code for such a jump 
> > contains the character '#' (as in <A 
> > href="displayform.cfm#continue"></A>) which
> the
> > CF server tries to interpret, resulting in an error message 
> (I guess 
> > it's what would be called a 'reserved' character for CF).
> > >
> > > Is there any other way to achieve such a jump, which would be 
> > > acceptable
> > to CF?
> > >
> > > Hubert
> > > ---
> > > Hubert Earl
> > >
> > > ICQ#: 16199853
> > >
> > > My Jamaican Art, Craft & More Online Store:
> > http://www.angelfire.com/ny/hearl/link_page_for_go_jamaica.html
> > > Check out the art print bargains available! Beautiful 
> prints as low 
> > > as
> > US$7.50 each, less if you purchase 2 or more. Also being sold:  the 
> > Genealogy of Jamaica CD-ROM
> > >
> > >
> > >
> > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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

Reply via email to