NetTalk Central

Author Topic: Conditionally choose form path  (Read 2222 times)

TimR

  • Newbie
  • *
  • Posts: 28
    • View Profile
Conditionally choose form path
« on: November 07, 2008, 11:23:44 AM »
I want to setup an order form that will allow users to create an order for numerous accounts.  If the user is entering a possibly duplicate account (i.e. name/address) I want to warn them of this condition and then give them the option to place the order under the existing account or to just create a new account.

I don't know how to conditionally ask a question and then go to one of two web pages, any help would be much appreciated.

FYI: Unfortunately I can't use a browse with a lookup for accounts(client constraint).

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11179
    • View Profile
Re: Conditionally choose form path
« Reply #1 on: November 07, 2008, 05:32:28 PM »
Hi Tim,

You don't need the "2 form" approach.

You can validate the fields as they are entered, and offer the user options as you go. Incidentally I've seen this done on a couple sites, and it's very cool!

Cheers
Bruce

Mike Grigsby

  • Sr. Member
  • ****
  • Posts: 380
    • Yahoo Instant Messenger - onthedotsoftware
    • View Profile
    • MyHomeAssets! Software (among others)
Re: Conditionally choose form path
« Reply #2 on: November 08, 2008, 12:15:23 AM »
Hi Tim, I think you'll find a lot of help by looking at how the example apps use the login page and ProcessUser proc. It's pretty slick and I think it might be just what you're looking for.
Mike Grigsby
Credify Systems
Central Oregon, USA