NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: TimR on November 07, 2008, 11:23:44 AM

Title: Conditionally choose form path
Post by: TimR 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).
Title: Re: Conditionally choose form path
Post by: Bruce 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
Title: Re: Conditionally choose form path
Post by: Mike Grigsby 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.