How to set a field as 'office use only'

Hello all,
I have one more question for you. 
I sometimes send forms out that must have information set in the fields. The problem is that I don't want the people I send the forms to to change this information. Is there an easy way to do this?
Thanks,
Tristan

This is EXACTLY what I would want. Where do I set up a bookmark?
I changed the prefixes to private.NAME and copy paste the code into a button that executes Java but it didn't work. Sorry, I'm such a noob at this.
Both suggestions seem good, but I would
have about 10 or more fields that I would need to change everytime I send or recieve the pdf.
Is there a way to make the process easier? The form I'm trying to make would also need to be used by other people in the office who are not as tech savy as I am... and that is not saying much.
There are a number of ways. Probably the simplest is to set up a bookmark that prompts the user for a password. If correct, it would lock/unlock the fields. This would all be implemented in JavaScript. You can do the same type of thing though the use of a custom menu item or toolbar button.
Try something like:
(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;
In this example, the fields that are controlled by this all have a field name prefix of "private", for example "private.name", "private.address", etc. This makes it easier to control the fields as a group, as I do in the line of code that begins: getField("private").readonly  If you don't use such a field naming convention, you'd have to have a separate such line for each field in the group.
Replace "your_password" above with one of your own. The first and last lines are not necessary, but do prevent the needless creation of document-global variables, which is a good thing.

Similar Messages

  • How to set Character field's Format Mask?

    dear all,
    how to set Character field's Format Mask?
    i searched the forum and found the following, where can i use this code and how to change and set its format mask.
    SRW.SET_FORMAT_MASK('mask');
    Thanks
    Muhammad Nadeem

    Nadeem,
    If you have database 10g, look into function REGEXP_REPLACE. Otherwise you can also try this (you might already know).
    SELECT SUBSTR('CHHOCMIPO07020001', 1,2)||'-'||SUBSTR('CHHOCMIPO07020001' ,3,2)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 5,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 7,3)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 10,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 12,2)||'-'||
    SUBSTR('CHHOCMIPO07020001' , 14,4)
    FROM dual
    CH-HO-CM-IPO-07-02-0001
    If you have to use this at many places, create a function, pass the raw value, manipulate the string and return.
    FS

  • I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and Itunes store. How do I make one password that will be recognixed by all these devices?

    I cannot figure out how to set my apple id to use: itunes (two of accounts), apps store and itunes store. How do I make one password that will be recognized by all these devices? My apple id is constantly not working.

    Hi Lrwill,
    If the apps that are on your son's iPad were purchased under his Dad's Apple ID, then signing your Apple ID onto the iPad will not help you with updating those apps.
    Also, if the iPad was sync'd with his Dad's iTunes library, then hooking it up to your computer/iTunes library, will require you to reset the iPad, and everything that was loaded under the other Library and Apple ID will be wiped out.
    Can you provide a little more info about what was set up under which Apple ID and what iTunes library the iPad was sync'd with?
    Cheers,
    GB

  • How to set key fields in a Database view

    Hi guru's
    iam balaji,plz guide me with how to set key fields in a view.......that field is a non key field in the base table....
    thanks in advance,
    Balaji.S

    take a look at this:
    Diagnosis
        In the view, not all of the mandatory fields were included as key
        fields. The key of the view therefore is not unique.
    System Response
        All the fields are regarded as key fields in order to guarantee that th
        key lengths are unique.
    Procedure
        For views with a large number of fields, this could have a negative
        effect on the performance for the language construction described below
        In this case, all the mandatory key fields should be included in the
        view.
    regards

  • How to set the field SKB1-FDLEV as requestred-entry in G/L Master data?

    Hi All,
    Could anyone tell me how to set the field SKB1-FDLEV as requestred-entry in G/L Master data?
    Thanks
    Gandalf

    hi
    Go to OB26
    select Your criteria ( create, change or display)
    double click on it
    again double click on Bank/financial details
    there you will find the Planning level make it require entry
    save
    with regards
    ramanuja chary

  • How to set the field non-editable in the classical report..

    Hi..
              How to set the field non-editable in the classical report..

    Hi experts,
    For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
    on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
    for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
    IF current->is_property_readonly(
    'NICKNAME' ) = abap_false. "#EC NOTEXT
    rv_disabled = 'FALSE'.
    ENDIF.
    when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
    can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
    The field properties are set as Input field and the display checkbox is not checked.

  • How to set Border in the Excel using UTL_FILE ?

    Hi all,
    Any one aware of
    How to set Border in the Excel using UTL_FILE ?
    Am doing excel creation from a stored procedure.
    Thanks
    Dora

    Hello Dora,
    if you need more than simple csv: at Re: How to save a query result and export it to, say excell? you can find links to different solutions. At least the package behind the second link supports defining your own formats (and has a tutorial how to do it).
    Regards
    Marcus

  • How to set the full screen mode using setClip method

    hi all,
    how to set the full screen mode using setClip in that softkeys should not be used insteat on that need to create a own softkeys using commands.
    thanks & regards
    Bala.

    In CS5 there are changes made to how the screen mode is reported. In CS3-CS5 the screen mode has a corresponding number. So for instance if the ScreenMode is set to "Preview Off" and you ask indesign CS3 or CS4 to display the screen mode, it will report "1936552047", while in CS5 it will report "PREVIEW_OFF".
    try executing this simple command in respectively CS3, CS4 and CS5 and you will see what I am talking about:
    alert(app.activeWindow.screenMode);
    there is no difference if you do:
    alert(app.activeDocument.layoutWindows[0].screenMode);
    The CS5 solution is rather awkward to work with, unless I am missing something? PREVIEW_OFF is not a string, nor is it a number.
    Example -  doing:
    myScreenMode=app.activeDocument.layoutWindows[0].screenMode;
    and then trying to reset screenMode by something like:
    app.activeDocument.layoutWindows[0].screenMode= myScreenMode
    does not work in CS5 of course. It will throw an error. Neither will this line work:
    app.activeDocument.layoutWindows[0].screenMode=ScreenModeOptions.myScreenMode;
    Any way of working around this?

  • How to Set "DateOnly" property in DateTimeControl using Javascript.

    How to Set "DateOnly" property in DateTimeControl using JavaScript.

    Is there any specific reason you want to set it through JavaScript ? You can directly set the DateOnly property in the markup itself.
    <SharePoint:DateTimeControl runat=server id="dtControl" DateOnly="true"></SharePoint:DateTimeControl>
    Please can you elaborate on what exactly is the requirement for setting this through javascript?
    Geetanjali Arora | My blogs |

  • How do i confirm whether it is using only one partition.

    I want to select the data from one partition only.
    How do i confirm my select query using only one partition.
    To front end developers how do i suugest to use correct partition.
    I know in the select query we can write partion name also if i know the partition.
    But i don't the correct partition name as a front end developer.

    Hello,
    You can find partitions for the table from following view user_tab_partitions. You can use PARTITION Clause but it defeats the purpose of having partition key column,
    You should be able to do this
    select * from my_part_table where part_key='key';Regards

  • How to disable the security code and use only the Touch ID

    how to disable the security code and use only the Touch ID

    You can't use Touch ID without a passcode.
    http://support.apple.com/kb/HT5883

  • How to set-up my home intranet using 2 different ISP's ?

    I have had so much trouble recently with my main (8 years now!) internet provider "ABC" (not the real name) Cable Modem here in Belgium that I made the decision to pay another bunch each month to have a second ISP for my home and home office. "XYZ" (also not the real name) will start on Monday 26 July. It is a DSL line, linked to my TV and fixed telephone. Great, except I'm not really sure how to set-up this 2nd ISP.
    First, I want this 2nd ISP to (at least for now) be an emergency backup. So if ABC shuts down again (as it has done a lot recently, but no technician can come until 30 July- poor service there!) - I want to immediately be able to use the XYZ server.
    OK the XYZ has a kinda built-in router in that the DSL Modem has built-in WiFi and also 2 cable to computer out ports. I believe I can first just configure the WiFi: Apparently I have to attach my MBP-13" via cable in order to change / add a security code; maybe change the name of the WiFi from its default "XYZ-WiFi" (not the real name) to something I want like SteveXYZ and then add a security protection code.
    But how to configure my eMail using MAIL? And can I still keep getting my eMail from my main "[email protected]" (not the real address) even when connected via XYZ? And what about SENDING from ABC when connected via the server XYZ?
    Also: I currently have my ABC Modem going to a 4-port D-Link DI604 Router. From there, one cable goes to my MacBook Pro-13"; one to the Apple LaserWriter 12/640PS (great printer- 13 years old and still super); one to my Canon MP640 and one upstairs to another router: D-Link DIR-635 wired and wireless. From there, one cable goes to my wife's eMac; and another is available for guests; another unused and then the WiFi for when I compute in the garden and of course for my iTouch.
    So now let's say that on 28 July the ABC is down. Ideally I'd like to pull the cable from the ABC Modem that goes into the DI604 Router and plug-in a cable going to the XYZ DSL Modem and voilà have internet back via my backup XYZ. BUT can I print? Do I have to reboot the Router since it will have to reassign those 192.168.0.123 type numbers, won't it? (I believe those numbers are called the "IP Addresses").
    Thanks for any comments or references here.
    Best regards,
    Steve Schulte
    Wednesday 21 July 2010

    In your Network Preferences you can set up more than one method of connecting - i.e., Airport, Ethernet, Dial-up (heaven forbid). If, for example, you place Ethernet at the top of the list, then Airport, your Mac will try to connect to Ethernet first. If it can't, it will fall back to Airport.
    So if you can have Airport connected to one ISP and Ethernet connected to another, you will be able to pick one or the other by imply pulling the Ethernet cord. What you can't do is set up two Ethernet connections (or Airport connections) each with a different ISP (though if I read you aright this isn't what you want anyway).
    Another method is to set up 'Locations'. You could set up one with Airport only, and one with Ethernet only, and switch between them using Apple Menu>Locations: this would save you physically pulling cables and is just as quick, it takes only a few seconds.
    As to mail, it depends on your ISP. Some ISPs demand that you are connected directly to them to send mail, and possibly also to receive mail: some rely entirely on the password. In the latter case you can use the same settings in both locations or methods: in the former you can't get round that - if you're not connected you can't send/receive as relevant.

  • How to set a form element value using javascript?

    Hello,
    I have been using the following two functions in AS 9.0.2 to set form values in javascript and it works correctly. However, the same code does not work in AS 10.1.2.0.2. Would appreciate if someone could let me know how to set form elements using Javascript(onchange of a field).
    function set_item_value(p_field_name, p_value)
    var v_index, v_full_name;
    for(v_index=0; v_index<document.forms[0].length; v_index++)
    v_full_name = document.forms[0].elements[v_index].name.split
    if (v_full_name[2] == p_field_name)
    document.forms[0].elements[v_index].value = p_value;
    function get_item_value(p_field_name)
    var v_index, v_full_name, v_return="";
    for(v_index=0; v_index<document.forms[0].length; v_index++)
    v_full_name = document.forms[0].elements[v_index].name.split
    if(v_full_name[2] == p_field_name)
    if(document.forms[0].elements[v_index].type != "radio")
    v_return = document.forms[0].elements[v_index].value;
    else
    if(document.forms[0].elements[v_index].checked)
    v_return = document.forms[0].elements[v_index].value;
    if(v_return == " ")
    v_return = "";
    return v_return;
    Thanks
    Dev

    This is not the best way to write JavaScript in Portal environment!
    You can't be sure that a form is the first in the html source!
    In Portal you change the order of your portlets, and also you can have several instances of the same portlet on the same page!!!
    You should use qualified form and field names!
    Please check the following JPDK methods:
    UrlUtils.htmlFormName
    HttpPortletRendererUtil.portletParameter

  • How to set User-field in Plan order

    Hi
    could you tell me please how to set a user-filed in plan order. when I run MRP planing, I can write some data in this filed.
    thanks
    henry

    Hi,
    Actually these user defind fields are used/assigned in the routing.
    Initially u have to define your own user defind profile through OPEC transaction.
    Assign this profile in the routing.
    So when ur executing Mfg activities, suppose if ur using some high materials like silver...etc.
    Then after executing the particular operation some amount of silver chips or silver scrap will generated .
    To keep chip/scrap qty operation and date which user defind is used.
    Once u have assigned this profile to routing, then it will be automatically copied in the planned order/production order.when ur confirming the order then u have to enter the all related data.
    Regards
    Vijay

  • How to set "like" field of the query in statements

    Hi,
    Im trying to set the "like" field of the statement.but it is not executing as expected.Could anybody please tell me,"how to set the like field in statements.
    Here is my code.
    PreparedStatement psum=con.prepareStatement("select count(bill_amount) from master where bill_date like ? and whos_bu=?");
    String myStr=month+"/??/"+year;
    psum.setString(1,myStr);
    psum.setString(2,employeeTray[1]);
    ResultSet rs=psum.executeQuery();

    Tnx a lot vidyut .using % is working.
    Could you plz tell me why the previous one using question mark is not
    working. using quesion mark is correct as per the query syntax.and also i tried with asterisk,it is also not working.
    ps:have some duke dollars.

Maybe you are looking for

  • Upgrading bi publisher error (10g to 11g)

    Hi All, We have installed OBIEE 11g (11.1.1.6). After installing we have upgraded bi publisher repository from 10g to 11g. Stopped managed server while upgrading. Upgradation was successful. But the managed server is starting in Admin mode. So unable

  • I can't open A PDF document either

    New issue.I have uninstalled and re installed 3 times new version of Ad obe 9.33.I have tried repairing rea der installation. No luck.I have tried opening with Adobe reader 9.2  no luck. I use AOL as my browser and am running on Windows XP. Why do I

  • Trouble Installing CS5.5 Prod Prem Education Edition on New Win7 64bit

    I am having the following errors after building a brand new Win 7 64bit machine. It has every Windows update and is running perfect otherwise. Here is my error log; Exit Code: 6 -------------------------------------- Summary -------------------------

  • Zim desktop wiki (written in Perl) don't work anymore

    Hi, Recently I experience a problem with the Zim desktop wiki (package zim in AUR) that stopped working. In the console I can see that it segfault. In fact it works only when the configuration is erased ... and the next time it breaks again. Very ann

  • Importing WMA files from an Olympus Voice Recorder

    I am considering the purchase of a digital voice recorder, possibly one of the inexpensive WMA recorders from Olympus. I would like to be able to import the voice recording files onto my Mac, possibly for editing them in Garage Band. I may make podca