Good day all;
Now that I have this form nailed down and ready to send to the user, I get asked “1 more thing”.
On the form I have a button that opens up a sub-form to allow the administration group to add extra notes. They asked if there was a way to hide this from all users except for the people in their area.
The one thing I thought of was a password. In other words, if a user clicked on the button that was labeled “Admin Only”, the user would have to enter a password for the sub-form to become visible.
Of course there might be a different ways to do this, so, I would appreciate any help I could get.
Thanks All.
Chomp
Views
Replies
Total Likes
You can use the JavaScript method app.response to ask for a password.
var pwResponse = app.response({
cQuestion: "What's the password?",
cTitle: "Enter Password to show subform.",
cDefault: "",
bPassword: true,
cLabel: "Password:"
});
if (pwResponse == "asdf") {
SubformXYZ.presence = "visible";
}
Views
Replies
Total Likes