This topic is locked

best way to hide sections of multi step pages

12/23/2017 10:22:08 AM
ASPRunner.NET General questions
G
georgeb author

re-writing a reservation system.

currently using an add page to have the user select "One Way" or "Round Trip".

if the user selects "One Way" (a value of 1) I want to hide sections 2 and 3 of the multi-step for
I have tried

in the javascript onload

var tabs = pageObj.getTabs();
if(XSession.Session["OWRT"]=1 ){
tabs.hide(2);

tabs.hide(3);

}

I have also tried C# code options in the before display event
How do I Hide sections of the multi-step form???

TIA

G

jadachDevClub member 12/23/2017

I'm not sure you can do this with multi-step. Try turning off multi-step and add tabs instead.