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!");
any ideas?

I was able to resolve this by adding in a second button for the second page

Similar Messages

  • Password protecting pages within PDF

    Is it possible to password protect a section or pages or a page of a PDF?
    We have a customer that needs to open a form on their phone or tablet for their customer review.  However, part of the financial form DOES NOT need to be viewable by their customer.  So, we are thinking the field worker can sign into the financial portion of the PDF.  Is that possible?  Where the financial portion is on a different page of the PDF and that page is password protected.
    Craig

    No, you can't password protect pages. There are ways of hiding the data on
    those pages, but they might not properly on mobile devices. Why not simply
    separate the financial info to another file?

  • Can I create a password protected page for member's only?

    Can I create a password protected page for member's only?

    PASSWORD PROTECTING A PAGE WITH A NICE BOX DESIGNED INTO YOUR PAGE
    FINALLY, I'VE FOUND AN ANSWER TO PASSWORDING A PAGE OR SECTION WITH ADOBE MUSE WITH GREAT SIMPLICITY AND ALLOWING YOU TO 'DESIGN' THE PASSWORD BOX INTO YOUR PAGE!!!
    Even better is that you don't HAVE to have username AND password (although you could if you wanted to), so just a simple PASSWORD box and enter button DESIGNED BY YOU WITHIN YOUR PAGE, rather than nasty popups etc.  Importantly, the password itself is NOT within the source code of your page either!!
    The solution is at Jotform.com. I believe you can do this with a FREE ACCOUNT, although it's SUCH a great service for Musers that I paid for a proper account.
    Before you do this, create a page on your site saying "Wrong Password. Please go away" or something to that effect. You'll need it for when they enter the wrong password.
    So, in Jotform, you just create a new form and:
    1. Drag on a password box (it's in the power tools section)
    2. Select it and go to Conditions
    3. Go to Change Thank You URL after submission
    4. Enter: If [name of your password box] field EQUALS TO [enter your password]
    5. In the "Then redirect to" box, enter the URL of your protected page and click save
    6. In the resulting box click "ADD A NEW CONDITION" and do the SAME as stets 3 to 5 but this time say NOT EQUALS TO" with your same password and in the "Then redirect to" box, enter the URL of your WRONG PASSWORD page and click save
    7. Embed the button on your page and you're done!!!
    If you want to mess about with the EXACT alignment of a right aligned button and text box, you can go to Preferences and in the box which allows you to add your own custom CSS, enter the following code and mess about with the values until it's perfect for you:
    .form-buttons-wrapper { padding-top:3px !important; }#id_2 {margin-left: -50px !important;}
    Here's an example, built in Muse: www.hileytv.com/about.html
    I hope this helps my fellow Musers!
    Marcus

  • Password Protected Pages?

    Can I create password protected pages within iWeb? Or, do I need to use a more advance web editor? I've created password protected web pages before using templates provided by my webhost and was just wondering if this is supported in iWeb.

    No, iWeb does not support this. You can password protect your whole site, but only if you publish to MobileMe.
    You are best doing this via your server and perhaps not using iWeb.

  • Crash when editing a Password Protected page

    I have an issue with a Mac user that is trying to edit a site
    I created. Some folders on this site are password protected –
    meaning that pages on the site require user names and passwords to
    be entered for them to be viewed by web surfers. This user can log
    on and edit parts of the site that are not password protected but
    when he navigates to a folder that is, and chooses a page to edit,
    his computer locks up. Normally, when one of my PC users chooses a
    page to edit that requires a password, from within CT, they are
    presented the security window and prompted to enter the info. Once
    entered, CT allows assess to the page for editing as normal.
    Anyone know why the Mac is locking up when this user tries to
    edit a page with a password?
    This user can “surf” the site with their version
    of Safari or Firefox and view password protected pages – just
    not from within CT
    We are using CT CS4

    The error occurs when they use the choose button. And, that
    is currently the only way to get access to those pages since all of
    the password protected pages do not have direct links. These page
    links are sent out via email ( with un and pw info ) so clients can
    get direct access.
    I do not know if he has tried typing the url directly in the
    address bar ( can that even be done ?)
    The only thing else I've learned is that he is running OS
    10.4.11.
    Thanks for responding.

  • How do I create a password protected page?

    Hi,
    I need to create a password protected page and need help!
    Anyone out there . . .
    Thanks,
    Manda

    Depends on web server.
    But some things to look for are .htaccess if using *NIX.
    Otherwise a database and your Dreamweaver help files will
    suffice.
    "zenflame" <[email protected]> wrote in
    message
    news:e3tfoh$itp$[email protected]..
    > Hi,
    >
    > I need to create a password protected page and need
    help!
    > Anyone out there . . .
    >
    > Thanks,
    > Manda

  • Password protected pages have stopped working

    Set up my website with help from Apple Personal Projects, and created password protected pages within the site for me to upload photos for clients which they could then download. My test pages worked fine. Just tried to add a new client to do the same again, but have no idea how it was done and no helpful notes! I just added the new client name (but nothing else) and published the changes while I considered what to do next, and now the parts that were working aren't anymore. My Apple 1 to 1 has run out, so would be very grateful for any help on how to add a page that I can password protect and clients can download from. Some replies to questions here about password protecting pages have said that it can't be done, but I did it (well the nice man from the Apple Store did), so it obviously is possible. My website is hosted by 1 & 1.

    Here's the FAQ about password protecting directories at 1&1 :
    http://faq.1and1.com/webspace__access/protecteddirectories/index.html

  • Password protected page not working

    HI,
    I have to password protect a single page (out of 3-4 pages) on a site.  http://www.antlersowners.com/members.html
    I used javascript because I didn't see a way in DW to password.  Some users can get in - but others using IE8 cannot!
    My question is: what is the best way to password a single page.  Can I do it via DW.
    BElow is the code for the page, I've set the link up to go to the javascript page which THEN goes to the html page.
    Any help you can offer will be greatly appreciated.  Jane
    Code below:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>password required</title>
    </head>
    <body>
    <SCRIPT>
    function passWord() {
    var testV = 1;
    var pass1 = prompt('Please Enter Your Password',' ');
    while (testV < 3) {
    if (!pass1)
    history.go(-1);
    if (pass1.toLowerCase() == "gazebo") {
    alert('You Got it Right!');
    window.open('members.html');
    break;
    testV+=1;
    var pass1 =
    prompt('Access Denied - Password Incorrect, Please Try Again.','Password');
    if (pass1.toLowerCase()!="password" & testV ==3)
    history.go(-1);
    return " ";
    </SCRIPT>
    <CENTER>
    <FORM>
    <input type="button" value="Enter Protected Area" onClick="passWord()">
    </FORM>
    </CENTER>
    </body>
    </html>

    I used javascript because I didn't see a way in DW to password.  Some users can get in - but others using IE8 cannot!
    My question is: what is the best way to password a single page.  Can I do it via DW.
    As the others have said, forget about using client-side Javascript for any form of security. It achieves nothing and is easily circumvented.
    At most, you would only use Javascript in the browser for basic validation of data entered by visitors (e.g. have the minimum required fields been filled out?). Nothing else. But in simple cases like this, I would not even bother with that. Security procedures must always be done on the server and this can take many forms from simple to complex.
    My first port of call in simple situations such as yours is to go to the hosting panel on the website and set up a password protected directory/folder. Then upload your sensitive page to that folder. That's all you need to do.
    The server will then launch a dialogue box requesting a username/password from anyone trying to access that page.
    If you don't have access to a hosting panel then ask the website host to set up a password protected folder for you.

  • After updating on my mac - I cannot open various password protected pages - like my WordPress site. I can open them from Safari and from Firefox on my windows pc.

    after updating firefox , it won't allow input of password on various sites - like my wordpress admin page. I can access this page from safari and from firefox on my windows pc.

    I cannot open password protected WordPress pages using Firefox. They open using IE
    If I remove the password protection the page opens correctly in FF.
    I have cleared the FF cache and cookies several times, No change
    I have modified the wp-pass.php file several suggested ways related to the referrer and nothing solves the issue.
    I tried:
    wp_safe_redirect(wp_get_referer());
    to
    wp_safe_redirect(wp_get_referer() . '?');
    NO GOOD
    I tried:<br />
    <br />
    <pre><nowiki>$location = wp_get_referer();
    if ( $location == '' )
    $location = './';
    wp_redirect($location, $status = 302);
    </nowiki></pre>
    NO GOOD
    I have upgraded WordPress to 3.3.1. Still NO GOOD
    I have deactivated, and also removed all plug-ins. Still NO GOOD.
    Anyone have any ideas?
    Why just an FF issue?
    IE no problems

  • Can you password protect pages folders

    When you create a folder in pages, can you password protect the folder, or it only that documents can have a password?

    Only the file can be password protected from within Pages. If you don't want the file to open on your Mac without the password, then do not check, “Remember this password in my keychain,” in the password dialog. Record your document password where you can retrieve it — in case your forget, or if using keychain, in case it becomes damaged.
    You can password protect (and encrypt) a folder that contains Pages documents, whether they are password protected or not.
    In Finder, press shift+command+U to launch the Utilities Window.
    Launch Disk Utility
    File > New > Disk Image from Folder…
    From the Select Folder to Image dialog, select the folder and click Image
    From the New Image from Folder dialog
    Image Format
    Compressed - folder will be read-only with no ability to add documents later
    Read/write - intuitive
    Encryption: 256-bit AES Encryption
    Save
    In the new password dialog, set your password
    You should strive for password complexity that shows strength as green
    Record your password where you can retrieve it.
    Again, the caveat about keychain as mentioned above
    A new disk image will appear with the name you gave it, and a .dmg extension
    Double-click for the password challenge
    The disk image will mount on your desktop just like an installer. Double-click to open.If you chose Image format as read/write, you can drag additional Pages documents into this open folder
    Right-click on the mounted image and choose Eject to close it
    You can edit Pages documents in-place in the mounted folder, but you will get a warning about space in the image container. If you want to increase the disk image size, open it in Disk Utility. It willl appear below the line in the left panel. Select the .dmg there, and from the Images menu, choose Resize…, and adjust accordingly.

  • Is it possible to open a password protected pages document made on my mac on my iPad?

    I can't find the answer anywhere in the Pages documents or googling, so I thought I'd ask here. I own Pages on my ipad, but not my imac. The ipad version won't create a password protected file, but the mac version will. Could someone who has Pages on both their mac and ipad do a quick test for me to answer this. It should be as easy as:
    1) create and save a password protected document on the mac Pages
    2) sync it through icloud to the ipad.
    3) try to open it on the ipad Pages.
    4) report back
    If the answer is yes, I'll probably buy Pages for the mac, but if not, probably won't.
    Thanks in advance,
    Paul

    One previous simila query resulted in the following:
    https://discussions.apple.com/message/15607840#15607840
    Good Luck

  • Can i password protect pages in iweb?

    id like to be able to do it with a username and password that i can issue to select people..

    Not in iWeb. You have to do it at the server side.
    Depending on where you host, you can password protect a site (a folder or directory) or a page.
    See your control panel where you host your site.
    Or you can do it yourself with a .htaccess file :
    http://www.google.com/search?q=password+protect+website+htaccess
    Here's a basic login :
    http://home.wyodor.net/protect
    username/password are : root/root
    Or if your server supports it, you can do it my way :
    http://home.wyodor.net/demoos/WebSession/

  • Is there any way to password protect access to a form?

    We are going to use a form for a part of a clinical study and there are only 4 persons that should be able to enter information into this specific form.
    I understand that I can choose to share the link to the form with only these appropriate persons but I want to know if there is any way I can password protect the access e.g. after they have clicked on the link, they need to write a password, then be able to fill in the form?
    Thanks!!

    Hi,
    This is not something we currently support but you can add or vote on feature ideas: http://forums.adobe.com/community/formscentral?view=idea
    If you need to add a new idea click "Create an idea" under "Actions" in the top right.
    Thanks,
    Josh

  • Password Protecting Pages

    I am unable to click on the plus sign in order to add a
    server behavior that password protects a page. What am I
    missing?

    What server side scripting language does your server support?
    You will have to use php, asp, jsp and your page name must have one
    of these as an extention for the file, such as mypage.php.

  • Password-protect and hide one form field

    Hi there,
    I have been browsing through old forum discussions in search of an answer to my question.  A code George Johnson posted was really helpful, but there's  one more function I need to add to it and am struggling to figure it out on my own.
    I am creating a PDF with form fields.  Different depts within the organization will review this PDF and pass it back and forth.  The Admin dept needs one text field called "internal comments" that they can password protect.  They'd like to be able to add text, then password-protect that one field so it's hidden for other depts who review this PDF.  Admin will need the copy to be visible to them when they enter their password. 
    The script I found works really well (see below).  I set up a button to house the script, and when you click it, it locks and unlocks the "internal comments" text field with the password.  However, I can't figure out how to HIDE the "internal comments" text field after someone in Admin inputs their information.   I tried setting up a Show/Hide Field action, but I can't get it to work.  And I'm just not savvy enough to know how to alter the Javascript.
    How can I specify that the "internal comments" text field be HIDDEN when a user enters their password for "deactivate this field", and VISIBLE when they enter a password for "activate this field"?
    Any help would be greatly appreciated!
    (function () {
        // Get one of the fields in the group
        var f = getField("private.name");
        // Determine new readonly state, which
        // is the opposite of the current state
        var readonly = !f.readonly;
        var readonly_desc = readonly ? "deactivate" : "activate";
        // Ask user for password
        var resp = app.response({
            cQuestion: "To " + readonly_desc + " the fields, enter the password:",
            cTitle: "Enter password",
            bPassword: true,
            cLabel: "Password"
        switch (resp) {
        case "your_password": // Your password goes here
            getField("private").readonly = readonly;
            app.alert("The fields are now " + readonly_desc + "d.", 3);
            break;
        case null : // User pressed Cancel button
            break;
        default : // Incorrect password
            app.alert("Incorrect password.", 1);
            break;

    You could modify the section of code to something like:
            case "your_password": // Your password goes here
            getField("private").readonly = readonly;
            getField("private").display = readonly ? display.hidden : display.visible;
            app.alert("The fields are now " + readonly_desc + ".", 3);
            break;
    So it toggles both the readonly property and the display property.
    Edit: corrected typo.

Maybe you are looking for