Hello,
I am brand new to InfoPath 2010. My question is....
Is there a way of creating a password view that will switch to another view if they input the correct password??
I have seen this html code using the Custom Task Pane but it doesn't seem to function very well.
var thisXDocument = null;
function initialize()
{
thisXDocument = window.external.Window.XDocument;
}
function changeView()
{
var userName = tbUser.value;
var password = tbPassword.value;
/*Access your database to find out if the logged in user is a valid user or not.*/
thisXDocument.View.SwitchView("Main Form");
}
Many thanks for any help.
Glenn