Beginner User:  Locking (making read only after data entry) a single field after selecting date

Hello, I am a beginner user trying to create a form using Adobe Livecycle.  One of the fields I would like to make read only/protect it/password protect it after a user selects the date.   For example, I select August 17, 2010 as the date. After I select it, I would like that field to be read only or protected so that another user can not edit it. 
I am a complete novice using XML or codes.  I'm learning alot from these boards though.    I know its probably simple.
Any help is appreciated.

The attached locks a text field if the date chosen is "08-17-2010". If it is not the text field is accessible.
// form1.page1.date::exit - (JavaScript, client)
if (this.rawValue == "2010-08-17") {
  form1.page1.tf.access = "protected";
else {
  form1.page1.tf.access = "";
Steve

Similar Messages

  • Make a field read-only after selection made

    I have the below code:
    var currency =  topmostSubform.IFFPage3.Page.Body.rdoDefaultCurrency.rawValue;
    topmostSubform.IFFPage6.Page.FirstCustomer.cboBasicGrossEarningsCurrency.rawValue = currency;
    topmostSubform.IFFPage6.Page.FirstCustomer.cboOvertimeBonusCurrency.rawValue = currency;
    topmostSubform.IFFPage6.Page.FirstCustomer.cboFeesCurrency.rawValue = currency;
    topmostSubform.IFFPage6.Page.FirstCustomer.cboEarnedOtherCurrency.rawValue = currency;
    I need the ones =currency to be read only. Is there a way to make them readonly? I dont want them to be able to change the drop down after a master currency is selected.

    Use the 'access' property. YourField.access="protected" and YourField.access="open".
    Kyle

  • Data Type field read only in Data source for transaction data (PC_FILE)

    Hi folks,
    I need to change Data Type for some of the fields in "Field" tab in data source for transactional data. It became read only after I activate the data source. Need help in making it editable. All fields now have Data type=CHAR.
    Thanks

    Nevermind folks. I got it.

  • Dynamically making read only for a field in get_data(CL_EHHSS_INC_BINFA_UI_FRM)

    Hi Experts,
    I am making read only for a field based on condition in get_data method of class CL_EHHSS_INC_BINFA_UI_FRM.
    But it is not working. Pls find the code for the same.
    LOOP AT CT_FIELD_USAGE INTO lw_field WHERE NAME = 'OC_INC_TYPE'.
       lw_field-read_only = ABAP_TRUE.
       MODIFY ct_field_usage FROM lw_field TRANSPORTING read_only.
       ev_field_usage_changed = 'X'.
    ENDLOOP.
    Pls help me what is wrong in this coding.
    Regards,
    Reny Richard

    Hi Richard,
    Please check if   this loop is executing for the correct desired event(say on click or from the start ). & the field name specified is correct or not through debugging. And check by placing the parameter ev_field_usage_changed = 'X'. after the loop statement.
    Below is a sample code for making the field read only.
    field-SYMBOLS: <fs_field> like line of CT_FIELD_USAGE.
       loop at CT_FIELD_USAGE ASSIGNING <FS_FIELD>.
         case <FS_FIELD>-NAME.
         when 'OC_INC_TYPE'. " name of the field
             <FS_FIELD>-READ_ONLY = 'X'.                " ' ' for editable
         ENDCASE.
    CV_FIELD_USAGE_CHANGED = abap_true.
    Regards,
    Harsha

  • Changing a Record to Read-Only after an event.

    I have a Developer application that needs to be modified. This
    application includes several fields as well as a comments
    field. I'd like to change all updatable fields (not to included
    the comments field) to READ-ONLY after a certain event. Then
    after a certain date, I'd like to make the comments field READ-
    ONLY.
    Do you have any suggestions?
    Regina Grimes
    919/874-3140
    null

    Dear Regina,
    Have you tried to set_block_property in pre-record trigger to update allowed/not allowed depending on the event. And in post-record update not allowed. These triggers must be on block level. Also on item level to the item 'Comment' define pre-item trigger where take a new decision whether you want to open the entire block or not, the same way as on block level triggers. But in post-item trigger always make the entire block read-only again.
    Regards
    Jan Kramle

  • Make all text fields read only after signing form

    Hello,
    I have a live cycle form which needs to have all of the text fields set as read only after signing.
    The java script has been placed in the post sign event of a digital signature field.
    for(var i=0;i<this.numFields;i++) {
    var cNm = this.getNthFieldName(i);
    if (cNm.type = "text") this.getField(cNm).readonly = true;
    After signing the form the following console error is shown:
    this.getNthFieldName is not a function
    Can anyone please advise how to revise the script so that when the form is signed all of the text fields become ready only?
    Any assistance will be most appreciated.
    Thank you.

    You don't need any JavaScript to do this.
    In Designer you can setup the signature field in that way, that all fields will be locked after signing.
    Look here:
    http://forums.adobe.com/message/3121870?tstart=2

  • Ref. Orig. can't be moved to sys. trash: locked or read-only.  Fix?

    Another new one (amazing what one uncovers under deadline ).  See screen shot:
    Some of these files are from a Leaf Aptus 70 (they were part of the Ap3 Tutorial) and are very large.  Large or small, I like to run a clean ship.  Can I search in Finder (or Terminal) for locked or read-only files?  They are all on one external drive.  There are other ways to root them out, but I don't have the time right now.
    Thanks.
    --Kirby.
    (Added:)
    Can I do this to my entire referenced originals drive without _any_ repercussions?
    You can unlock all files in a folder by opening the Terminal in the /Applications/Utilities/ folder and entering the following:
    chflags -R nouchg
    followed by a space. Drag the folder into the Terminal window and press Enter to unlock the items.
    Message was edited by: Kirby Krieger

    I'm not being clever today.  Found a different, easy, solution.  Right-clicked one of each set of Images and selected "Show in Finder".  This brought up the Finder folder containing all the Images with that date.  Then emptied the Aperture Trash.  At warning, clicked "Continue".  Went back to the Finder windows and ... found out the joke is on me: all the files in question were moved to the system trash.  I have no idea what files were flagged "Read Only" or "Locked".
    At some point I will "Consolidate all Originals" or relocate them to a different drive and examine the files left on the referenced Originals drive.  Not sure what I'll find.  All the Aptus files ( .mos) and all the other "not mine" Originals that I was trying to remove from the Library are now in my system trash.
    Thanks for the help (and the caution) though -- I'm ignorant of Unix and like to think that I'm wise enough to not use it or, at a minimum, to ask experts for an "OK" first  .

  • External Drive Permissions Locked to Read ONLY - HELP!

    Hello:
    I have recently moved from a powerbook to an imac. The external I used with the powerbook was working fine until I began to use it with the imac. Once I hooked it up to the imac, I only had read permissions. I have never set any of the permissions on the disk and have always left it open. Thinking it was just the imac, I plugged it back into the pb, to find it was also appears locked to read only. I have gone through the web looking for solutions and I cannot seem to find a solution.
    When I open get info about the disk, under sharing and permissions, its says "you can only read"
    under the list of name: wkim has read and write privlige, staff and everyone get read only. I am wkim, so what gives? Any help would be greatly appreciated!

    ok. my problems were probably not related and were fixed by reinstalling 10.5.2 with the Combo Updater found on (www.apple.com/downloads)...this probably won't help you but won't hurt so may be worth a try...
    your permission problems probably have something to do with user IDs changing from one machine to the next. Try first to "repair permissions" with Disk Utility on your main HD. you can also go to Terminal and navigate to the problem directory and enter "ls -ln" to see what user ID and group ID own the files. then type just "id" to see what your local ID is. if they don't match then you'll probably need to change them with chown or chgrp.
    hopefully someone else will chime in here as 10.5 has created convoluted permission problems and I still haven't worked out my own...

  • Make a field required on record creation, read only after that

    Hello,
    Does anyone know of a way to make a pick-list field required on record creation, but read-only after that? The other twist to this is that we need to allow this field to also be read-write for all the integration edits, since this field's value could change in the enterprise database.
    Thanks,
    Neal G.

    Hi !
    I think you can add a validation rule for that. Something like :
    IIf(PRE('&lt;YOURFIELD&gt;') IS NULL, &lt;&gt; '', = PRE('&lt;YOURFIELD&gt;'))
    This means that if the previous value of your field is null (it's a creation), so the value must be different than blank. Else, it must be equal to the previous value, so not modified.
    I didn't tested it, but I let you get back to me if it works... or not !
    You'll just have to add a message saying that this field is required on creation and readonly after...
    Hope this will help, feel free to ask more !
    Max

  • Word 2010 document becomes Read-Only after saving it

    Hi,
    My Word 2010 document is becoming "Read Only" after saving it, for information my doucment is on the desktop . I searched on this forum and find a couple of solutions (deactivating auto saving, etc.) but it does not work at all. Any other ideas?
    Thanks,
    Sylvain.

    , I wonder why the docuemnt is becoming Read-Only when I am saving it on the Desktop...
    I've read articles and blogs of people arguing each side of whether you should use the Desktop as a storage folder and I really
    don't have anything substantial to add to either the pro or con side of the issue.
    However, what I know about Word is that it behaves a bit different and seems to have issues when you’re actively editing document that are stored
    on the Desktop.  I would speculate that the issue has something to do with the screen driver software.
    When you’re editing a document, Word is actually using something like a dozen or more temporary hidden files and some of these are stored in the
    same folder as the source document. If the source document’s folder is the Desktop, then there has to be interaction with the screen driver. 
    This interaction with the screen driver is one variable that makes the Desktop folder unique and possibly problematic and thus Word under certain conditions
    makes the file Read Only.
    Kind Regards, Rich ... http://greatcirclelearning.com

  • How to make fields read only after form is filled in

    I am creating forms to be used within our company.  The customer srv representative (CSR) would fill in the form and send it to the customer for signature and initial.  There are a few issues I can't solve.
    1)  I need to make the rate & services fields read only after the CSR initials the form

    Will the CSR have Acrobat or just Reader, and what type of computer will the CSR be using (Windows/Mac/mobile OS)? If just Reader (Wind/Mac), this is possible by setting the fields to read-only with JavaScript. The problem is this can't be considered secure, even if using a password as discussed here: Password-protect and hide one form field
    With Acrobat you have the ability to flatten certain fields, which makes it a bit more difficult to change the "fields".

  • Firefox profile folder becomes read-only after closing browser

    firefox profile folder becomes read-only after closing browser
    It is a problem with firefox or is it this to to a virus?
    How to fix? How to prevent?

    Only a check mark in the Read-only box means that a folder or file is Read-only.<br />
    Windows doesn't check all the files in a folder so instead displays a greenish block to indicate that it is not sure.<br />
    You need to look at the files individually to see if any are read-only.<br />
    Easiest to do that is to make the Attributes visible in "View > Details" mode: Choose Details in Windows Explorer.<br />

  • Make adobe form -read only after Submit button

    Hi,
    I have an Interactive form withuser input fields.
    I am submitting it via E-mail.How do I make it read only after I click Submit ?
    I am using javscript for sending e-mail.
    rgds
    vara

    Resolved it : in click event javascript
    ADOBE_DATA.form.field.access = "readOnly";

  • Make Sticky Notes Read-Only After Creation?

    Hello,
    I am wondering if there is a way to make sticky notes read only after someone has created one?
    I have a form that we want people to add comments to but we don't want anyone to be able to remove those comments.  Possible?
    Kristi Tost

    Resolved it : in click event javascript
    ADOBE_DATA.form.field.access = "readOnly";

  • Mail to RFC is there way to make mail to READ only when data sent to RFC

    Hi friends ,
                        My scenario is Mail to RFC  .  I am reading mails marking as read and sent to  RFC .
                       Due to this , If   for eg 400 mails comes , xi is reading all mails correctly but sometimes  inbound queue getting stuck so , unable to send data to RFC .
               Because of that  many mails which read cannot able to send data  , everything stuck in InBound Queue.
                 Can any body explain how to resolve this issue ?
               <b>   If there way to mark mail as read only when data uploded to RFC ?</b>
              Any suggestions please!
    Regards.,
    V.Rangarajan
    null

    Hi
    Even we did this scenario for one of our clients,but in our case mails were getting deleted by itself once processed.And those that did not get processed due to some reason remained in the mail box.
    Thanks

Maybe you are looking for

  • HP LaserJet Pro M127fn - fax sending problem - busy status all time

    everytime i try to print via word or other app and choose the fax printer from the program, it opens the wizzard to enter options and number but then it gets into a busy loop, spooling etc,  and I cannot send it.   why?  the machine was working fine

  • Abode Acrobat 9 Pro

    I recently replaced my hard drive and I cant seem to download Abode Acrobat 9 Pro from the website.  I orginally updated from Acrobat 8 to 9 Pro on the website.  I have the Acrobat 8 disk but it asks for Windows Vista. Help. 

  • 2011 and 12 macs won't firewire older ones will

    I have an iMac (mavericks) 2011 and a Macbook pro(mountain lion) 2012 neither of these will connect to my Panasonic DVX-100B via firewire.  My 2008 (Leopard) macbook pro and my 2005 mac mini (tiger)  will both connect and capture video. Is this due t

  • Settlement cost element

    Dear All, I have settlement defined in pa transfer structure, if at the same time I have more than 1 cost element to settle to different value field in copa, can the secondary cost element in settlement able to settle 2 or 3 different cost element to

  • Help, Exception using Web Service with Web Dynpro

    Hello All, Can someone please help me with this exception: com.sap.tc.webdynpro.progmodel.context.ContextException: NodeInfo(path=CalculatorComp/CalculatorCompView, class=com.sap.tc.webdynpro.progmodel.context.DataNodeInfo): cannot modify Number1 bec