NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Thys on July 17, 2011, 02:46:38 AM
-
Hi,
I have a login form that could route the user to one of two different web form procedures. But the submit action is already set up in the beginning of the Login procedure - when GenerateForm is called. Is it possible to make this when the Login button is pressed?
Thys
-
Hi Thys,
The point is, you probably don't want to make a decision until _after_ the user has clicked on Save. So even if there was a way it'll still be too late.
The usually technique for handling this situation is to rather go to a NetWebPage, and on the page include bothy forms (with a condition which determines which one gets called.)
cheers
Bruce
-
Thanks Bruce. I figured out that it could be done on a next page. Your explanation is a bit fague - should both forms be on a NetWebPage (how?) or should the NetWebPage decide which of the forms to load?
Thys