Help with the protected fields

Hi all

I have a form that has several fields. Of those, some are protected fields that are intended only for the administrator, rest are intended for users in general. General users should submit the form by filling out only the fields that are intended for them. After submitting the form, when the administrator opens the form, he should be able to enter data in the protected fields and save. How this can be achieved at best, so that only the administrator can bypass the protected fields.

Thank you.

Sidonie.

Hi Francine,.

Here's a sample: https://acrobat.com/#d=1sM9qMpJpgo2Miox * YaQNg

In this I have set up four fields that are locked initially. There is a button which, when clicked will ask the user a password.

Now while the password is "124", the form uses a hash function to convert a hex code. I can't remember where I got the function, but it was one of the Adobe blogs. It would be unsafe to store the password "1234" in the form, then the hash code is stored instead: "03ac674216f3e15c761ee1a5e255f067953623c8b388b4459e13f978d7c846f4." The entered password is converted to a hex code and then compared to this.

Once the fields are unlocked, the background is highlighted. Protect the fields the administrator again click on button and input an incorrect password.

Now in your form, you can take parts of this solution - for example have a textfield for password instead of a button; have a blocking script in the exit of the textfields event, etc.

Hope that helps, sorry for the delay to return to you,

Niall

Tags: Adobe LiveCycle

Similar Questions

  • Help with the hidden field formula

    I have a table in the Acrobat document:

    1 box = data of registration of the user

    Box 2 = user registration data

    Box 3 = user registration data

    Box 4 = (box 1 * Box2 * Box3)

    Box 5 = the user's registration data

    Box (box 4 - box of 5) (6)

    The problem:

    During this table opens in the document all the fields must be blank for printing purposes.

    However, all fields are for a person to enter data, and then print to convenvience.

    What I need help on, creates a script that allows the box 4 and 6 box remain empty but also to fulfill their function and display a value of 0 if the service is validated as true.

    Example:

    Zone 1 = 2

    Area 2 = 2

    Zone 3 = 0

    Box 4 = (box 1 * Box2 * Box3) = 0

    Box 5 = 0

    Box 6 = (box 4 - box of 5) = 0

    Can someone help me with this? Let me know if other explanation or screenshots are needed.

    Thank you.

    You say that you only want to show a zero value in the computed fields if all entry fields are not empty, and the calculation result is zero? If so, a custom for the first calculation script could be something like:

    (function () {}

    Get the values of field as strings

    var v1 = getField("Box_1").valueAsString;

    var v2 = getField("Box_2").valueAsString;

    var v3 = getField("Box_3").valueAsString;

    If (v1 & v2 & v3) {}

    Perform the calculation

    Event.Value = v1 * v2 * v3;

    } else {}

    Event.Value = "";

    }

    })();

    The script for one another might be:

    (function () {}

    Get the values of field as strings

    var v1 = getField("Box_4").valueAsString;

    var v2 = getField("Box_5").valueAsString;

    If (v1 & v2) {}

    Perform the calculation

    Event.Value = v1 - + v2;

    } else {}

    Event.Value = "";

    }

    })();

  • help with the protected password field

    1046: type was not found or is not a compilation constant: void.

    I do not understand why im getting this error here is my code:

    Stop();
    submit_btn.addEventListener (MouseEvent.CLICK, subClick);

    failed_txt. Background = false;
    failed_txt. Border = false;

    var myName:String;
    var myPass:String;

    function subClick(Event:MouseEvent):Void {}
    myName = name_txt.text;
    myPass = pass_txt.text;
    If (myName == "Kyle" & & myPass == "getmein") {}
    gotoAndStop ("Home");
    } else {}
    failed_txt. Text = "Please enter a valid password.";
    }

    }

    Hey;

    I think your getting this error due to "Vacuum" with a capital V, I tried with a tiny v and it has worked well...

  • help with the text field read-only

    try to refine a shape KW

    I don't want the user to enter a value in a box, so I did it read-only.  $< input name = "proptax" type = "text" size = "10" readonly = "true" >

    Validation says:

    'true' is not a valid value for the 'readonly' attribute in any of the currently active versions. See warnings above for more details. [HTML 4.0]

    So now what?

    Try readonly = "readonly".

    It does not validate.

  • Help with the query to select only one record from the result set in double

    Hello

    Please help with the query. Version of Oracle database we use is 10g R2.

    I have a vision that is duplicated IDS, but they are used across the different functions. See below examples of data. Please help me with a query to select only one record (based on ID regardless of the area) from the bottom of the result set of duplicate records. For what is the point of view is there unique records, given the combination of the fields ID, Org, DF, dry, Sub-Sec

    ID
    Org
    DF
    Sec Sub-Sec

    (163)CQCPDMCPDMHD(163)PCENGENGENG(163)CQASICASICIS8888TSTACTACTAC(163)TSHEHESW6789CQINFOINFOFOS6789PCSECSYSSECSYSINFO16789TSSECSYSSECSYSINFO29009PCBMSBMSBMS1

    My result set must eliminate the duplicate identifiers regardless of whoever we choose of the result set. (I mean without distinction Org, DF, s, Sub-s). My expected result set should be.

    ID
    DSB

    DF
    SEC
    Sub-Sec
    (163)CQCPDMCPDMHD8888TSTACTACTAC6789CQINFOINFOFOS9009PCBMSBMSBMS1


    Thank you

    Orton

    Hello

    This sounds like a job for ROW_NUMBER:

    WITH got_r_num AS

    (

    SELECT id, DSB, df, s, sub_sec org

    ROW_NUMBER () OVER (PARTITION BY ID.

    ORDER BY org

    ) AS r_num

    OF view_x

    )

    SELECT id, DSB, df, sub_sec s,

    OF got_r_num

    WHERE r_num = 1

    ;

    He is a Top - N query example, where you choose the elements of N (N = 1 in this case) from the top of an ordered list.

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and INSERT, only relevant columns instructions) to your sample data and the results desired from these data.  (I know that you said that you were a view selection.  Just for this thread, pretending it is a picture and post simple CREATE TABLE and INSERT statements to simulate your point of view).
    Point where the above query is to produce erroneous results, and explain, using specific examples, how you get the right results from data provided in these places.  (I didn't quite understand the explanation above.  I don't know why you want to

    ID ORG DF DRY SUB_SEC

    --      ---     --      ---     -------

    1234 CQ DPRK DPRK HD

    and is not

    1234 IS CQ ASIC, ASIC

    or

    TS 1234 IT IT SW

    or

    1234 CQ ASIC ASIC HD

    )
    If you change the query at all, post your modified version.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

  • Need help with the conversion of an excel formula.

    I really seem to have a problem with wrapping my mind around Java.  Could someone help me with this particular formula?

    What I'm trying to do is convert a D20 Modern character sheet I created in Excel.  The excel version looks like this: = ROUNDDOWN ((C11) / 2-5, 0).

    Also, is it easy to bind the fields together so that the result of the above equation appears in the right place in terms of 'skills' modifier else where on the page?

    Thanks for any help that you could provide!

    Blair Marshall

    The JavaScript code to place in the event of a field Calculate would be something like this:

    // Custom Calculate script for text field
    (function () {
    
        // Get the field value of C11, as a number
        var v = +getField("C11").value;
    
        // Perform the calculation, round down, and set this field's value
        event.value = Math.floor(v / 2 - 5);
    
    })();
    

    Replace "C11" with the actual field name if it is different.

    If you give the same name fields, they will automatically receive the same value.

  • What is the correct way to ask for help with the forum, rather than product, questions?

    I can't find the right way to ask a question about the forums themselves.

    PAGulley said

    I can't find the right part of the forum to ask questions about the forum itself and its features. I wonder what the right place and the way is to get help with the forum system itself. I can find the place to ask questions about specific Mozilla products very well.

    Look up where it says contributor tools and select Contributor Forums. Make sure that you scroll to the top or you'll get a bar with different links instead,

    The forum is https://support.mozilla.org/forums where you question would be better in the SUMO community discussions.

  • Need help with the installation of an adapter of Palit GeForce 9500GT Super chart - 512 MB in a M2N68 (narrated

    Need help with the installation of an adapter of graphics Super Palit GeForce 9500GT - 512 MB - DDR2 SDRAM in a M2N68 motherboard (narra6). Should I disable the onboard graphics in the bios? When the card is installed, no VGA work outs and the PC does not start. Checked and recontroler implementation of the card in the PCI slot. PC is a desktop HP G5200uk PC. Windows 7 operating system.

    Hello

    The link below is a guige to install a video card in your Pc.  In particular, it seems that you will have to perhaps specify the location of the new card in the bios and save this change before you install the new card - see step 4 in the guide on the link below.  If your new card fits into the PCI Express x 16 slot, you will need to define PCI Express in the bios and save the changes.

    http://support.HP.com/us-en/document/c01700855

    Kind regards

    DP - K

  • help with the beats on my envy 17-3270nr, n key

    help with the beats on my envy 17-3270nr key. recent Smart hard disk crash, replaced with exact same hitachi drive, same care extended warranty repairs covered of the Frys. Windows 7 Edition home premium w / service PAC 1 installed, drivers installed, except that now there is no volume of beats on screen graphic dial button, click the button on top button on the page does not call the beat of the application settings. Futhermore; the motion sensors of laser to activate the keyboard backlit keyboard do not work.  Are there drivers hp software to enable the missing features?

    Hello

    Download and install the following.

    HP OSD utility.

    Proximity sensor driver.

    Once completed, restart the laptop.

    Kind regards

    DP - K

  • I need help with the program of Photos on my macbook pro

    I use a Macbook Pro with OS of Yosemite. I really need help with the Photo program. I never really got the hang of IPhoto and now that it's a new program, I'm really confused. Where can I go to learn this without waiting for the next workshop in a local store?

    Hi, I'm fighting to open same mine, making a new software update

  • Help with the Powershell script to collect logs from all domain controllers

    I am writing a script to retrieve the last 5 days of application, security and log files from all domain controllers. The script runs, but fire the logs from the local server only. The variable $Computer has all of my DC so it's the fine mark. I guess it's a problem with my line ForEach-Object, but is not error. See the below script.

    $log = 'application '.
    $date = get-date-format MM-DD-YYYY
    $now = get-date
    $subtractDays = new-object System.TimeSpan 5,0,0,0,0
    $then = $Now.Subtract ($subtractDays)
    $Computers = get-ADDomainController-filter *.
    ForEach-Object - InputObject $Computers - process {Get-EventLog - LogName $log - after $then - before $now - EntryType error | select EventID, MachineName, Message, Source, TimeGenerated |} ConvertTo-html | {Out-file $env:TEMP\Applicationlog.htm}
    Invoke-Expression $env:TEMP\Applicationlog.htm

    Thank you

    Rich

    Hello

    To help with the repost the question script to the script Center Forum

    http://social.technet.Microsoft.com/forums/scriptcenter/en-us/home

  • Need help with the launching track pack for forza code 4

    Bought new Forza 4 and the lancer Track Pack code does not work, how do I get a code that is generated in the form I've already paid for it. Rank of loads of numbers and sent 10 s of emails but cant seem to get help.

    This is the help I get when the cat to an Ambassador xbox on xbox.com

    Terry wrote:
    Need help with the launching track pack for forza code 4
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Location of Ambassador of the community...
    The Xbox Ambassador says:
    Your question will be answered by an Ambassador of the Xbox. You have been connected to the Ambassador as a user Xbox [3]
    The Xbox Ambassador says:
    Hello
    Terry wrote:
    Hello
    The Xbox Ambassador says:
    Hey
    Terry wrote:
    just to be on the phone to xbox live support and was told to come here
    The Xbox Ambassador says:
    ok\
    The Xbox Ambassador says:
    What is your problem?
    Terry wrote:
    I bought the 4 for forza ansd 360 new sealed Christmas...
    Terry wrote:
    has got 2 codes that accompanies the game but the pack track code does not work
    The Xbox Ambassador says:
    Wow good
    Terry wrote:
    whenever I put in the code it says code redeemed
    The Xbox Ambassador says:
    I think the code is used. You must return to the retailer
    Terry wrote:
    I tried to, but since I already opened the case they will not accept
    The Xbox Ambassador says:
    Oh. No,
    Terry wrote:
    the code had been used or defective as I am the only person who has touched the game once opened, tried to enter the code when it is open
    The Xbox Ambassador says:
    Maybe it was auto bought?
    Terry wrote:
    so, how do I get another code generated track Pack if defective?
    The Xbox Ambassador says:
    I do not know.
    Terry wrote:
    bought the game new, so I get the track pack
    The Xbox Ambassador says:
    Oh. It's bad.
    The Xbox Ambassador says:
    I think that if you Exchange 1 code it will buy it
    Terry wrote:
    car pack code worked, starter pack did not work
    The Xbox Ambassador says:
    Oh.
    The Xbox Ambassador says:
    It's a bad
    The Xbox Ambassador says:
    BTW you have an evolution of the tests?
    Terry wrote:
    Yes, I want to? but more anxious to get a code object generated for this pack
    The Xbox Ambassador says:
    Hey if I help can u give me this game too?
    Terry wrote:
    ?????????????????
    Terry wrote:
    So is it possible to get a code for that time?
    The Xbox Ambassador says:
    Hey
    The Xbox Ambassador says:
    Yes.
    The Xbox Ambassador says:
    you need to contact them
    The Xbox Ambassador says:
    and tell them that the code is used.
    Terry wrote:
    I was told to come here? where can I go to get the code?

    Hi Terryg76,

    ·         What version of the operating system is installed on the computer?

    I suggest you to contact the game manufacturer for more help and information.

  • Need help with the blue screen issue "NAVEXI5. SYS, PAGE_FAULT_IN_NONPAGED_AREA ".

    Original title: need help with the blue screen issue
    My computer turns saying a blue screen: a problem has been detected and windows were shut down to prevent damage. The problem seems to be caused by the following file: NAVEXI5. SYS PAGE_FAULT_IN_NONPAGED_AREA he seems to have a different error whenever he turns to a blue screen. Can someone help me please.

    Hello

    1. Since when are you facing this problem?
    2. you remember to make changes to the system?
    3. do you get an error with this error code?

    I suggest to unplug external devices such as printer, scanner, etc. that are plugged into the system, and then restart the system and check if the problem persists.

    Method 1.
    I suggest you to do a check disk from the recovery console and check if the problem is resolved. Follow the steps mentioned below.
    a. start into the recovery console using the XP CD. Follow the steps mentioned in the article below.
    Description of the Windows XP Recovery Console for advanced users
    http://support.Microsoft.com/kb/314058
    b. perform a disk check.
    How to perform disk error checking in Windows XP
    http://support.Microsoft.com/kb/315265

    Method 2.
    I suggest you to start with the XP CD and then do a system restore. Follow the steps mentioned in the article below.
    How do I recover from a corrupted registry that prevents Windows XP startup
    http://support.Microsoft.com/kb/307545

    I hope this helps.

  • Help with the part number - paw index screen X230ti

    Can anyone help with the reference number and or the availability of the small 'legs' that sit in the slots on each side of the keyboard on a X230ti? They locate into the slots with the screen and prevent movement when the lid is closed.

    I have the same and among the small beasts broke and the screen tends to rotate when closed.

    Have searched for a parts list but cannot find the "paw" in any list that I found. Thank you

    Here is a picture of the X230t keyboard (and palmrest) framework. You can see the small 'legs' to belong to him.

    I hope someone from Lenovo will tell you how to order this part. EDIT: part number 04W6808.

  • Help with the purchase of a microSDHC

    I recently filled my Fuze, upgraded to the latest firmware and I'm ready to increase its capacity. I thought to buy a 8 GB Sandisk from amazon, but I'm not if I need a SD adapter so I can connect it to my computer. If I keep it plugged the "rocket" I will be able to access the card through the device, or it will appear as a separate storage device? Any help with the purchase of a microSDHC will be greatly appreciated.

    The 8 GB SanDisk microcard works perfectly, and you can plug just the "rocket" and most likely to leave it there. When you connect to your computer the microcard will appear as a separate... drive for example, on mine, the "rocket" is the J: drive and the card is drive K:

    Anything on the card will be perfectly integrated into the memory of the "rocket" when using it.

Maybe you are looking for