Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

redirect based on field comparison to db
Last Post 07-01-2010 02:10 PM by Candace. 3 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Allen FosterUser is Offline
going with the flow
going with the flow
Posts:34
Avatar

--
07-01-2010 07:58 AM

     Hi,

    Is it possible to have a form redirect to one of 2 pages based on a field value being equal to (or not) a value in the database.

    I have a zip code field on a form. When the user provides the value I want to query the database to see if that value exists. 

    If it does I want to redirect to page A.

    If the zip code does not exist i want to redirect to page B.

    Thanks for any tips/assistance you can offer.

     

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    07-01-2010 09:15 AM

    Hi Allen,

    Yes, this can be done.  Try adding a hiden field where you add a True or False value based on the query.  Then create your redirect completion events based on a True or False response to this field.  Thanks!

    Candace

    Allen FosterUser is Offline
    going with the flow
    going with the flow
    Posts:34
    Avatar

    --
    07-01-2010 11:39 AM

     Candace,

    Thanks for the quick reply. 

    However I haven't been successful trying this - should I create a question event to set the value of the hidden value, a form event or some other technique?

    When I tried to add a question event I couldn't choose the zip code field I the zip code field didn't appear in the 'Initiation / Postback Question' dropdown list.

    Regards,

    Allen

    CandaceUser is Offline
    river guide
    river guide
    Posts:2431
    Avatar

    --
    07-01-2010 02:10 PM

    Hi Allen,

    I may have spoken a little too soon.  Typically, if you have a combination of answers which represent one response (like if they choose Option 1, 2 or 3) you can create a client-side event in Advanced Field Options to set a hidden field value to TRUE and then fire off a redirect completion event based on this true response.

    However, it doesn't work like that if you have to perform a query and then return with a value.  This kind of implementation is more complex and will need Premium Suppor Hours.  Let us know with a Contact Form if you want to go that route.  Thanks!

    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi