By using the password to hide and show fields? (instead of toggle)

Back in George_Johnson 2010 post the script below, it allows you to turn on or off the field with a password.  I tried and it worked perfectly.  But when I had a friend try my document, there just by clicking on following in disabled fields (buttons) trying to make them work.  I realized that I really need to do is to hide rather than turn them off.  I thought at the script below could be changed to show/hide instead of turn, but I don't know enough about java still to do.  I started to try, but I think that I do not yet know enough.  My buttons I would like to hide/show are X, Y and Z.  Thank you George or anyone who has an idea about that.

Zac B., Cypress CA

(function () {}
Get one of the fields in the Group var f = getField("private.name");

Determine the new State readonly, which / / is the opposite of the current state var readonly =! f.ReadOnly;

var readonly_desc = readonly? 'disable': 'enable '.

Ask the user password var resp = app.response ({cQuestion: "To" + readonly_desc + "fields, enter the password:", CTitre: "Password", bPassword: true cLabel,: "Password"});

switch (RESP) {}

case 'votre_mot_de_passe': / / your password goes here getField("private").readonly = readonly;        App.Alert ("the fields are now" + readonly_desc + "d", 3);        break;

zero case: / / the user pressed pause of button cancel;

default: / / Incorrect app.alert password ("bad password.", 1);        Break ;}

})();

Response toSelect to enter the text of your comment

You can add the following line after the one that is similar:

getField("private").display = readonly? Display.Hidden: display.visible;

Tags: Acrobat

Similar Questions

  • Lack of "automatically hide and show the menu bar.

    Hi all, I want to hide my menu bar. I watched how disappear - it turns out that the checkbox "automatically hide / show menu bar" is missing. It is supposed to be under "use donkere menubalk en donker Dock. Why is it missing?  Thank you very much!

    Hi Mjappie

    This feature has been added in El Capitan.

    You must update to 10.11.3 to hide and show the menu bar.

  • Automatically expand a Hide and Show model region when the Page loads

    Hello

    I work with a Hide and Show region model, and I'm trying to accomplish the following:

    When my Page loads, if a PX_ID is not null, hide it and see the area should be extended automatically.

    I use Apex 4.1.1.

    Any ideas?

    Thank you

    Erick

    Hello Joe,

    Thank you for your response.

    This morning, I was looking for a solution in the forum and I could not find anything. Now, I decided to keep looking for more careful and I found a solution.

    For those interested, check this thead element: Re: hide/show the region

    Basically, I created a dynamic Action with the Code JavaScript: $('.t20RegionHeader') ('img') .children ravishing ();

    Thank you

    Erick

  • How do I configure the iPad2 to synchronize the iPad-Mailclient with Exchange 2010 via Active Sync using the certificate SSL client and name of user and password?

    Active Sync iPad ssl Client certificate

    How do I configure the iPad2 to synchronize the iPad-Mailclient with Exchange 2010 via Active Sync using the certificate SSL client and name of user and password?

    Hi Ewoki,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the TechNet Exchange forum. Please post your question in the Forums TechNet in Exchange Server.

  • My new system see the the old system in the network, but I can't get the passwords to work and I tried all the. Now what?

    ESTABLISHING A NETWORK.

    My new system see the the old system in the network, but I can't get the passwords to work and I tried all the. Now what?

    Hello

    1. don't you make changes on the computer before the show?
    2. what version of operating system you are using on the computer?
    3. which network you're talking about (home wireless network or group)?
    4. which steps have tried?


    If you use a group home on the computer, see the link for more information.
    Home Sweet homegroup
    http://Windows.Microsoft.com/en-us/Windows7/help/home-sweet-HomeGroup-networking-the-easy-way

    You can also check out the link.
    Microsoft's strategy concerning lost or forgotten passwords
    http://support.Microsoft.com/kb/189126

     
    Provide us more information for you to help.
  • Hide and show region - open if Item not Null

    Hello
    I use APEX 4.0 and can not find a way to get the skin and see the region develop if a Page element has a value (is not Null) in the region, without clicking the sign more. I would like it done automatically based on an item that has a value or not. null or not null. I know how to have always hide it and see the region see the/develop once the shape is present. But if the item is null the region hosts not on the loading of the page, but when an element has the value when the page opens, I want the area to be open / extend without having to click the sign more. I searched the forum and found a large number of threads to have just the Hide and Show open area / develop once the form on the page is open, but not what I need now. Thanks for reading this thread and look forward to a support for this issue.

    Hi Charles,

    I created a dynamic action on page 7, it works as expected.

    This code will only work with your current theme, because the rocker is made according to the css class of the > icon (as you can see in the live action)

    Thank you

  • Dynamic action - Hide and show interactive report

    Hello

    in the apex community tip http://www.oracle.com/global/de/community/tipps/apex40-dynamicactions/index.html (only in German), there is an example to hide and show a report interactive by dynamic actions.

    The approach described in the article should be case for normal or interactive reports.
    But in my case it works for normal relations. I am not able to update or hide the interacitve dynamic equity report.

    Has anyone had similar experience?

    Greetings
    Michael

    Hello
    You are welcome.

    * It is considered good etiquette to the responses of reward with points (as "useful" - 5 pts - or 'correct' - 10pts). :)
    Thank you
    Logaa

  • Hide and show parts

    Hello

    I use hide and show areas on my page. But now I have a problem. Whenever the page is reloaded, all regions are reduced. Is it possible to ensure that the regions that have been opened, are open again when the page reloads.

    Thanks in advance,

    Bram.

    Hi Bram

    Check this.

    [http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#STICKY]

    See you soon

    Ben

  • Unable to connect on the compuyer using the password after update the Microsoft Patch.

    My antivirus software says that I was behind in the patches from Microsoft, so I downloaded and applied these.  There was some kind of error and it corrupted my password of the admin account.   I type the correct password, but it does not accept it.  The only account I use is a non-admin account password.  Any ideas?

    The only account I use is a non-admin account password.  Any ideas?

    There are many options built into Windows to help you out of this situation:

    • Restart the computer with your repair CD Windows, then use system restore to set Windows to a point when your password has always worked.
    • Log on to your account admin to spare, and then reset the password for your existing account (works only if you set up an alternative admin account).
    • Log in as administrator mode without failure, then reset the password for your existing account (the password is usually empty).
    • Insert your flash drive USB with the password key file (only works if you have taken the time to create such a key file).
    • Use the password indicator (works only if you have created a hint and if it's good enough to allow you to guess the password)
    • Check your paper files (works only if you threw down the password somewhere)
    • Ask your friendly computer dealer to reset the password for you.

    When you're done, plan ahead a little and create, test and document a spare, even admin account that you have a spare House key. This will save you a lot of trouble.

  • I keep getting the 'Network security Key Mismatch' message when you try to connect using my wireless internet connection. I don't know that I use the password.

    I keep getting the 'Network security Key Mismatch' message when you try to connect using my wireless internet connection.  I don't know that I use the password.

    Hi oms1957

    I recommend you try these methods

    Method 1:

    Reset the wireless network and make sure that you set the level of security to WPA2-Personal, as it is recommended.

    Here are some links that will help you set up the wireless network

    What are the different wireless network security methods?

    Method 2:

    If this does not clear if installed third-party antivirus and then try to connect. If the problem is resolved, you have to uninstall the antivirus and reinstall back or check with the settings.

    Method 3:

    Cycle power to the router and check if this is useful.

    Thank you, and in what concerns:

    Samhrutha G S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to use the windows fax machine and how to open an administrator account?

    How use the windows fax machine, and how can I open an administrator account?

    Original title: activateadministratoraccount

    Hello

    Thanks for your posting in the Microsoft community

    Well, you can enable the administrator account hidden instead of an account

    You can make the win + r and write lusrmgr.msc in the start search box or in the command run and pressing ENTER. Or, you could open the computer by right clicking on computer management in the start menu and select manage.

    Expand System Tools > local users and groups > users.

    Right-click the administrator account, and then select "Set password".

    In the 'set password' click 'continue '.

    In the "set password" enter the password of the administrator twice, then click on 'Ok '.

    Then, activate the administrator account. Right click on the administrator account and select "Properties".

    n check the box "account is disabled". Click on the Ok"" button.

  • I can't connect to Windows 8 by using the password.

    Original title: could not connect to Windows 8

    I tried to connect to my computer, but then he says 'this password is incorrect. Be sure that you are using the password for your Microsoft account". I checked carefully, and I don't know that I typed my password. This started to happen when my computer ran out of battery then I plugged in and could not connect later. I even reset my password but still no luck. This computer is new, so I don't know why it does this.

    I had the same problem today. After a quick visit to my dealer where I bought my new acer E1-572, he explained that we have for the most part a password with letters and numbers.  On my acer, the NumLock is locked automatically.  This means that numbers are not added in your password.  Try to release the NumLock or by using the numbers in the second row on your laptop. Success!

  • How to use the password - AsSecureString in the script

    I would like to invite my script for the Active Directory User ID and password and use it more on in the connection-VIServers script

    something like...

    $MyAdUserID = Read-Host "enter a user name Active Directory"

    $MyAdPassword = Read-Host "enter password" - AsSecureString

    # now, I want to connect to a sequence of hosts vSphere5

    to connect-viserver < hostname > - the username-password $MyAdPassword $MyAdUserID

    It cannot authenticate with the SecureString password

    How to make it work?

    There is a conversion to use the password.

    The easiest way is to use the Credential parameter.

    $MyAdUserID = Read-Host "Enter Active Directory UserID" $MyAdPassword = Read-Host "Enter Password" -AsSecureString
    $cred = New-Object System.Management.Automation.PSCredential -ArgumentList $MyAdUserID,$MyAdPassword Connect-VIServer  -Credential $cred
    

    And take a look at the post of Arnim Bulk change your ESX root password, I think that's what you're looking for.

  • Friends hahaha... I'm unable to re - activate my iPhone 5 years after updating to the latest version of OS i forgot my Apple ID. I know the password ID Apple and iPhone lock code. Also its my fingerprint reading. Unfortunately the option "Find my iPhone"

    Friends hahaha... I'm unable to re - activate my iPhone 5 years after updating to the latest version of OS i forgot my Apple ID. I know the password ID Apple and iPhone lock code. Also its my fingerprint reading. Unfortunately, option "Find my iPhone" is active... Could someone advise me please how can I reactivate my iPhone in this scenario?

    https://iforgot.Apple.com/password/verify/appleid#! & section = appleid

  • Hai iam Amaladas from Chennai (India) iam Remote Sensing and GIS researcher here most people using the Google Earth application and five members using Iphone, we need a Google Earth app (India)

    Hai iam Amaladas from Chennai (India) iam Remote Sensing and GIS researcher here most people using the Google Earth application and five members using Iphone, we need an app (India) of Google Earth?

    https://www.Google.com/search?q=Google+Earth+app+India&ie=UTF-8&OE=UTF-8

Maybe you are looking for

  • How to unsubscribe to a calendar in iOS9

    Hi all This thread must be reopened. How to delete one/to unsubscribe a calendar in iOS9. More precisely the timetable "us Holidays. I tried to delete the calendar through the calendar app, as well as through settings > Mail, Contacts, calendars, but

  • Copy of 7520 HP problem

    I have the HP7520 All In One.  I am able to print from the computer without any problem.  I can also scan without problem to the computer (documents and photos).  But I can't copy.  When I try to copy a document or a picture, I get only a blank page

  • OfficeJet 4500 - no scan saved - where I can take the patch

    Please help me - for officejet 4500 and windows 7 it no scanning cannot be saved! Please tell me where can I get the fix for this solution - developed?

  • Instant message "this document failed", Epson SX415, it print but takes 20 minutes +.

    Would really appreciate the help. Whenever I try to print a Word document, there is a pop up Windows saying: "this document has no.." and the Epson box remains direct printing prints (usually) but takes an excessive amount of time (about 20 minutes).

  • Disk almost full AFTER system restore

    I have recentaly a restore of the system to my Pc (Windows Vista), I have not yet installed any programs or downloaded anything (photos/music, etc.) updates may have not yet been installed, but my hard drive says there only 15.2 GB free of 72.5 Go do