Skip to main content
May 21, 2008
Question

cfif isDefined quote or buy page issue

  • May 21, 2008
  • 1 reply
  • 1661 views
Hi all,

I want to loop over a line_ID value and pass the either the quoteURL or a buyURL

EXAMPLE: I have a page with hidden fields:BuyURL and QuoteURL.

When the user creates a compare examples of proucts, if a quote is available then I want to send them to the quote page, if there is no quote-don't display the page and if user wants to purchase the tools, i want them to go to the buyURL.


<cfif isDefined("line_id")>

quote display page link with passed variables


<else>

Send user to purchase page link

</cfif>

Need help.

Here's the skinny,

I added hidden fields on one page that I want to pass to another page and if the quote is true then display the link or if the purchase is true then display purchase page link...

Thanks anyone
    This topic has been closed for replies.

    1 reply

    Inspiring
    May 21, 2008
    Your problem description is not clear. To start, you should explain what you mean by "page with hidden fields".