Quantcast
Viewing all articles
Browse latest Browse all 1160

password protected pages in a form

I had a single password protected page in my original form, I added a second page that also needed to be password protected.

When I select the password window it brings it up, lets you type in the password but will not open the hidden pages?

 

here is the formula:

form1.#subform[3].Button1::click - (JavaScript, client)

 

var retValue = app.response("Enter Password: ", "Warning");

if(retValue == "XXXxxx"){

    Page4.presence = "visible";

}

else{

app.alert("Wrong password!");

}

 

ant ideas?

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 1160

Trending Articles