Creating password protected text fields

Hello, I need to make a form that if a password is entered, all text fields are available to be filled out and if no password is entered, then only a few chosen text fields can be filled out. I have searched many places and have come close to the answer but have still fallen short of my goal.
thank you

Here is one example to look at...
You can use this on a click of a button.
//JavaScript
var pWord = "AbCdEf" //set your password
var requestpWord = xfa.host.response("Please enter your password.")
if (pWord == requestpWord) {
this.presence = "hidden"; //hide this button
//write your code to enable all the text fields
}else {
//write your code to enable only fields tha you want.

Similar Messages

  • Is it possible to create a Large Text Field in OCOD, more than 255 Char?

    Is it possible to Create a Long Text Field (more than 255 Char Long) as like Description field in OCOD?

    Not at this time.

  • Is it possible to Create a Long Text Field (more than 255 Char Long)?

    Is it possible to Create a Long Text Field (more than 255 Char Long) as like Description field in Service Request Object??
    Thanks!

    Hi
    User can only create custom Long text field (255 Charcter) . Currently system does not support custom note creation

  • How to create Using Formatted Text Field with multiple Sliders?

    Hi i found the Java Sun tutorial at http://java.sun.com/docs/books/tutorial/uiswing/components/slider.html very useful, and it tells how to create one Formatted Text Field with a Slider - however i need to create Formatted Text Field for multiple Sliders in one GUI, how do i do this?
    my code now is as follows, and the way it is now is scroll first slider is okay but scrolling second slider also changes value of text field of first slider! homework due tomorrow, please kindly help!
    // constructor
    label1 = new JLabel( "Individuals" );
    scroller1 = new JSlider( SwingConstants.HORIZONTAL,     0, 100, 10 );
    scroller1.setMajorTickSpacing( 10 );
    scroller1.setMinorTickSpacing( 1 );
    scroller1.setPaintTicks( true );
    scroller1.setPaintLabels( true );
    scroller1.addChangeListener(this);
    java.text.NumberFormat numberFormat = java.text.NumberFormat.getIntegerInstance();
    NumberFormatter formatter = new NumberFormatter(numberFormat);
            formatter.setMinimum(new Integer(0));
            formatter.setMaximum(new Integer(100));
    textField1 = new JFormattedTextField(formatter);
    textField1.setValue(new Integer(10)); //FPS_INIT
    textField1.setColumns(1); //get some space
    textField1.addPropertyChangeListener(this);
    //React when the user presses Enter.
    textField1.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0),  "check");
            textField1.getActionMap().put("check", new AbstractAction() {
                public void actionPerformed(ActionEvent e) {
                    if (!textField1.isEditValid()) { //The text is invalid.
                        Toolkit.getDefaultToolkit().beep();
                        textField1.selectAll();
                    } else try {                    //The text is valid,
                        textField1.commitEdit();     //so use it.
                    } catch (java.text.ParseException exc) { }
    label2 = new JLabel( "Precision" );
    scroller2 = new JSlider( SwingConstants.HORIZONTAL, 0, 100, 8 );
    scroller2.setMajorTickSpacing( 10 );
    scroller2.setMinorTickSpacing( 1 );
    scroller2.setPaintTicks( true );
    scroller2.setPaintLabels( true );
    scroller2.addChangeListener(this);
    textField2 = new JFormattedTextField(formatter);
    textField2.setValue(new Integer(10)); //FPS_INIT
    textField2.setColumns(1); //get some space
    textField2.addPropertyChangeListener(this);
    //React when the user presses Enter.
    textField2.getInputMap().put(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0),  "check");
            textField2.getActionMap().put("check", new AbstractAction() {
                public void actionPerformed(ActionEvent e) {
                    if (!textField2.isEditValid()) { //The text is invalid.
                        Toolkit.getDefaultToolkit().beep();
                        textField2.selectAll();
                    } else try {                    //The text is valid,
                        textField2.commitEdit();     //so use it.
                    } catch (java.text.ParseException exc) { }
    // State Changed
         public void stateChanged(ChangeEvent e) {
             JSlider source = (JSlider)e.getSource();
             int fps = (int)source.getValue();
             if (!source.getValueIsAdjusting()) { //done adjusting
                  if(source==scroller1)   {
                       System.out.println("source ==scoller1\n");
                       textField1.setValue(new Integer(fps)); //update ftf value
                  else if(source==scroller2)     {
                       System.out.println("source ==scoller2\n");
                       textField2.setValue(new Integer(fps)); //update ftf value
             } else { //value is adjusting; just set the text
                 if(source==scroller1)     textField1.setText(String.valueOf(fps));
                 else if(source==scroller2)     textField2.setText(String.valueOf(fps));
    // Property Change
        public void propertyChange(PropertyChangeEvent e) {
            if ("value".equals(e.getPropertyName())) {
                Number value = (Number)e.getNewValue();
                if (scroller1 != null && value != null) {
                    scroller1.setValue(value.intValue());
                 else if (scroller2 != null && value != null) {
                    scroller2.setValue(value.intValue());
        // ACTION PERFORMED
        public void actionPerformed(ActionEvent event) {
        if (!textField1.isEditValid()) { //The text is invalid.
            Toolkit.getDefaultToolkit().beep();
            textField1.selectAll();
        } else try {                    //The text is valid,
            textField1.commitEdit();     //so use it.
        } catch (java.text.ParseException exc) { }
             if (!textField2.isEditValid()) { //The text is invalid.
            Toolkit.getDefaultToolkit().beep();
            textField2.selectAll();
        } else try {                    //The text is valid,
            textField2.commitEdit();     //so use it.
        } catch (java.text.ParseException exc) { }
    ...

    if :p3_note_id is null
    then
    insert into notes (project_id, note, notes_month, notes_year) So, p3_note_id is NULL.
    Another option is that you have a trigger on table NOTES that generates a new note_id even for an update.

  • How to create password protected folder (with unlimited storage) on Mac?

    I want to create password protected folder on my mac. I tried the method where you create a dmg file and mount it whenever you want to use the folder and unmount it when you don't. However, this method only lets me store, for example, 2 gb data. I cannot store beyong that level as an error message pops up saying... "the following files cannot be copied because there is not enough storage space in the dmg file"
    How can I create a passpord protected folder which can store as much available space that is on my mac?
    Is there an application that does that? Suggest me some names if someone already is using something like that.
    Thanks much!

    You need to choose the size of the image when you create it. If you are getting that message, you only set the image to hold 2GB of data.
    If you choose a Sparse Disk Image or a Sparse Bundle Disk Image, you can set it to any size, however, it will only be able to store up to the space available on your Hard Disk. Physically, it will only be the size of the stuff you saved into it, but It doesn't shrink automatically when you remove things.
    A Sparse Bundle differs from a Sparse Image in that it writes the contents to small files so that when Time Machine sees changes, it only backs up the small file change, not the 100 GB (or whatever) of the total image size.
    Notice that having created a 10 TB disk image (as shown above), there is only 80 GB available on the mounted image as that is all the space I have available on the 500 GB drive.

  • Creating an expandable text field without a scrollbar

    Hi All! Hope someone can help.
    I need to create a flowable subform that will allow text fields to expand without a scrollbar. I have been researching the forums and have found this thread:
    http://forums.adobe.com/message/2372965
    When modifying the template above for practice, The fields expand correctly but when i make one from scratch it doesnt work at all!
    Here are the steps I have followed in creating a expandable text field from scratch:
    1. Open Adobe Lifecycle Designer and open a plain blank form
    2. Take a "text field" from the object library and place it on the form
    3. I noticed there is already a blue border (subform) for this document by default for the new form so I changed the content from "position" to "flowed", flow direction from "top to bottom"  and checked "allow page breaks". Also changed the layout for y: autofit
    4.  I then right clicked on the text fields orange border and clicked "wrap in subform".  I changed the content from "position" to "flowed", flow direction from "top to bottom"  and checked "allow page breaks". Also changed the layout for y: autofit
    5. Finally for the text field itself I made sure that "allow multiple linkes" and "allow page breaks within content" was checked. Also changed the layout for y: expand to fit
    I still cant get it work am I missing something? Ive been twirking around with this for hours and this forum wont let me upload my example. Any help would be great!

    Hi,
    You need to save the form as dynamic pdf form i.e xdp and on exit of the text field only text field will be expanded.
    But make sure the main form should be flowed and page breaks should be allowed.Textfield should have the allow multiple lines option ,allow page breaks,and auto expand height(Y axis) should be checked.
    Regards,
    ManjuVardhan

  • Creating Password Protected MS WORD File

    Hi,
    i reported a program which creating password protected ms excel file using OLE2 objects in local harddisk of computer.
    can i report same program with ms word file?
    Can somebody help me pls?
    Thanks.

    Hello,
    This is what you require
      GET PROPERTY OF word 'activedocument' = actdoc .
      CREATE OBJECT word 'WORD.APPLICATION' .
      IF sy-subrc NE 0 .
        MESSAGE s000(su) WITH 'Error while creating OLE object!'.
        LEAVE PROGRAM .
      ENDIF .
      GET PROPERTY OF word 'documents' = documents.
      CALL METHOD OF documents 'Add' = newdoc.
      call method of newdoc 'Activate'.
        CALL METHOD OF actdoc 'SaveAs'
        EXPORTING
          #1 = 'C:\file.doc'          "filename
          #2 = 1                      "fileFormat
          #3 = 0                      "LockComments
          #4 = 'passopen'             "password to open a workbook
          #5 = 0                      "AddToRecentFiles
          #6 = 'passmod'.             "password for write access

  • Creating an editable text field in Acrobat Pro 9.5

    I create editing tests for applicants to my company. Previously I used Word, but I want to these tests to be pdfs moving forward because when I use Word there are various ways the test takwers can cheat. For most of the sections of the tests I can use various Acrobat form fields, radio buttons, etc. But there is one section that is typically a 700-word text sample that the test taker is required to edit. Would I be able to insert this much text in a text field so that it is editable? I want to limit the test taker's ability to refomat the document, which is another reason I want these to be pdfs.
    I am using Acrobat Pro 9.5.
    I'd appreciate any suggestions from users.
    Thanks.
    dg

    You can enter as much text as you want into a text field. Just need to
    leave enough place for it on the page and make sure to set it as multi-line.
    Regarding limiting the ways the document can be edited: Are the test takers
    going to be using Reader or Acrobat? If the former, there's no problem.
    They can't do anything except fill in the files and save the file (if you
    enable that) or print it or submit it back to you.
    If they are using Acrobat, or have access to it, then you should password
    protect the file to prevent it from being edited in undesired ways.

  • Creating password protected PDF

    I can create a pdf file using com.lowagie.text.pdf.PdfWriter and other classes in com.lowagie.text
    But I want to make my PDF password protected. Is there any way to make it password protected while using com.lowagie.text API.

    I could link you to the page that gives the answer directly, but I feel it is my duty to inform you that google will provide the answer with a very simple query: "iText password protected PDF" gave me the answer in a second.

  • How can I create an expandable text field in Acrobat XI?

    I am trying to create a text field that expands with the text that is entered. I have found several forums saying to use subforms, but how do I create those? Does anyone know where I can find a really good turtorial for XI?

    There are two type of PDF forms: AcroForms that can be created with Acrobat, and XFA forms (static and dynamic) that can be created with LiveCycle Designer. Since the kind you want (dynamic XFA) cannot be created with Acrobat, you'll have to use LiveCycle Designer. Said another way, AcroForms do not support fields that automatically expand based on content. If you want to ask about dynamic XFA forms, you can ask in the LiveCycle Designer forum: http://forums.adobe.com/community/livecycle/livecycle_modules_and_development_tools/livecy cle_designer_es

  • Create PDF from text fields in website

    Hi!
    Is it possible to hook up text fields in a website to a PDF document?
    I have a website developed in Dreamweaver/asp and I would like the ability to create
    a PDF based on values from different text fields (10-12).
    Today we first insert the values to a webpage and then insert the same values to a PDF
    made in Live Cycle, I'm thinking there have to be a way to automate this process.
    Regards,
    Christian

    Hi Christian,
    I am moving this over to our form gurus in hopes they can assist you!
    Regards, Stacy

  • URGENT help please. Problem creating Chinese language text field in Adobe LiveCycle.

    A client requested to create an employee details form in which few text fields has to be in Chinese language. I selected "Arial Unicode MS" for that fields. In final PDF I am able to insert text in Chinese text fields in Acrobat. But I cant insert text when i opened the final PDF in Adobe Reader. (only these Arial Unicode MS fields are disabled). All other fields (English) are in Arial font., they are working in both (Acrobat and Reader). As these forms will be distributed to people who may don't have Acrobat and only the Free Adobe Reader. Can someone please advice me how to solve this problem.
    Thank you
    - Amal

    Make sure the format of the date strings provided by the calendar is what you are expecting. Or use the "formattedValue" for the input strings.

  • How to create password protected zip in java?

    I want to create a password protected zip file in java...java.util.zip does not support this...how to do this???
    Someone please help...

    Thanks for Reply"[email protected]"
    Till today whatever i got is this------
    In java there is no way to make a password protected zip...java.util.zip package does not support this thing...
    To do this we require Third party API---
    Two third party Api i got...
    one is "CHILKAT API for java"
    and another one is "IPWORKS"http://www.componentsource.com/products/ipworks-zip-java-desktop/index.html
    but both of these API are paid...
    Even this problem has been reportd as bug in the bug database....
    And the other way is related with Class Process Builder of java...
    If someone knows more about this then tell me...

  • Use E-commerce Attributes to create an input text field

    Hey BC Community,
    Wondering if anyone has been able to create any specialized code to use an e-commerce attribute field as a input text field?
    I have a clients that needs to capture various input fields from the customer on the Large Product view.  Unfortunately I have no more open slots (yup - used up all 4 custom slots, unit type, product meta, etc.) so I can use the "How to Set Up Special Instructions Box" idea, as I need to put the <input> fields in a Content Holder, as not all of these products have this required input fields.
    Long story short, does anyone know how to use the {tag_attributes} area of the e-commerce platform to create user input fields, which will of course, populate into the Shopping Cart as well?
    Thanks,
    Aaron

    Your the third person to ask about this today:
    Open Field Attribute

  • Creating password-protected or hidden folder

    Dear all,
    I wonder if someone can help me create a password-protected and/or hidden folder where I can put some sensitive files.
    Thanks much,
    R

    Use an encrypted disk image or a third-party method. Placing the password in the keychain will automatically unlock the image when your Mac OS X account is active.
    (52406)

Maybe you are looking for

  • Pavilion dv7 blue screening - HP support assistant cannot test BIOS or memory modules but BIOS can?

    About a month ago my dv7 started doing something strange - during normal use (not gaming, just word processing, showing a powerpoint presentation, showing a video on youtube, etc.) the cooling fan speed would suddenly ramp up to jet-engine speed and

  • Why are web pages smaller on new pc (Windows 8.1) in Firefox 36.0 and how can I fix it?

    I have just moved from an old pc running Vista to a new one running Windows 8.1. When I set it up the first thing I did was download the latest version of Firefox. Not sure what version I had on the Vista machine, but this is FF 36.0. Then I synced m

  • Forms and Reports 6i

    Warm greeting to you all, I have installed oracle 8i enterprise ideation in my machine. This is a trial software. Connection from SQL plus is perfect and I have managed to manipulate Objects that came in the products default database. Also, oracle Co

  • Video "Pass-Through" to TV Monitor?

    Newbie to Final Cut Express here... does the new FC Express have a setting (like iMovie) where the video can "pass through" the connected firewire camera to a TV monitor? I want to be able to see scrubbing, playback, etc. in real time on my TV monito

  • Service Packages

    In order to resolve a problem I have patched the kernel and implemented SP for SAP_BASIS in development environment (SAP R/3 Enterprise 4.7) to a much higher level. Question is u2013 do I have to implement SPu2019s for SAP_ABA to the same number toge