NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on July 27, 2012, 04:33:55 AM

Title: Same variables on two tabs (NetWebForm - Wizard)
Post by: rupertvz on July 27, 2012, 04:33:55 AM
Hi Guys,

I have a few database-fields on one tab, and the same fields duplicated on another tab.
Using a NetWebForm(Wizard) procedure.

For example:  The equates across the tabs are "Name" and "Name_2" respectively.

When the user fills in "Name" on the first tab, I get the value of the session variable and update the session value for "Name_2" on the second tab accordingly.

I've used this method a few times before and worked fine ...

In a recent application, I swapped the variables ... the first tab has "Name_2", "Surname_2", etc. and the second tab has "Name", "Surname", etc.

I spent hours and was unable to get the session value of the variables in the first tab.
Eventually I repopulated both tabs with "Name", "Surname" on the first tab and "Name_2" and "Surname_2" on the second tab.

Everything worked afterwards.  It doesn't make sense as to why swopping the "_2" variables to the second tab would make a difference, but perhaps someone had a same scenario?

Regards
Rupert