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

Similar Messages

  • I created a Custom list New Form and need to make the text fields read only

    When I use SharePoint Designer and add the read only attribute  to the  SharePoint form field, then it throws  a web part error.
    but here is the thing, I have current user Filters populating the Form Fields. So the form fields  populate First name , last name etc. and I need these fields read-only....
    the Client doesn t want the end user to Change those fields.  Is there any way to "LOCK" the form fields?
    As I have only 7 text fields that need to be locked down. and one field is a signature line that is a true input field.. where the  user has to inter their initials.
    Any ideas? as I have tried most of the items available thru searches nothing works, or it throws that web part error message.
    Steve Athey

    Daniel: ( I'm now at work, a different ID is logged on for me)
    I used SharePoint Designer.
    Steps:
     created a web part page
    then on the SharePoint Designer ribbon I then went to insert:
    new item form
    Then I selected my data source (list)
    then I placed the 8 columns on the page
    a page viewer web part to pull the manual that people have to read.
    and 7 current user filter webparts. (1 for each form field) Yes it is over kill, but I'm trying to keep this straight out of box as much as possible...
    then for the form fields
    I added a parameter and the read only tag see below in bold:
    <asp:TextBox runat="server" text="{$ParamEmployID}" id="ff17{$Pos}" __designer:bind="{ddwrt:DataBind('i',concat('ff17',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Employee_x0020_ID')}" 
    ReadOnly="True" />
    I also  added the parameters in the ribbon area
    the error message doesn't tell me much, it just send me to web part maintenance page... 
    if I removed the  ReadOnly = True then the error  goes away.....   So I was trying to find a  quick simple  JQuery and or javascript   code item that would  make  the 7 text fields readonly and leave the
    8th  text field alone  to allow people to place their initials on the page to say that they read the manual.
    I have  created hundreds of these types of pages .. this is the first time I have run into this issue, but it also the first time I have tried to use the ReadOnly = True item.
    Any Ideas  and or thought on how to make the  items read only? and not throw the error.
    Steve

  • Best way to make all the items read-only in many pages for a resposibility?

    Hi,
    We have the following requirement:
    We need to make all the fields read-only in 5 standard self-service pages for a particular responsibility. One way is to personalize these pages at responsibility level. Is there any other quick/better way to do it?
    Highly appreciate your suggestions on this.
    thanks,
    Hem

    Hem,
    Personalisation is easiest and fastest way of doing this. The same requirement can be acheieved by extensions of CO by setting the bean properties rr by SPEL binding by extending VO.
    But when I can get something done without coding at all that approach is best, I am sure u agree :)!
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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".

  • How to make few DFF fields read only in Forms

    Hello.....
    I am having an Issue in forms customization through custom.pll
    I need to make few DFF fields read only in HRMS enter and maintain form through custom.pll
    I tried with fnd_descr_flex.update_definition but in vain
    So please help me how to rectify this issue.
    Edited by: user.nazeer25 on Jul 9, 2010 5:27 AM

    Hello,
    Wrong forum.
    Ask this kind of question in the E-Business Suite forum ;-)
    Francois

  • I would make the signature field read only until something is entered in the mandatory fields.

    I would make the signature field read only until something is entered in the mandatory fields.

    Mina,
    You can use LiveCycle Designer's Action Builder to easily achieve this.
    Please go through online documentation for the specific version of LiveCycle Designer that you are using.
    It is intuitive and very easy to use Action Builder (You will find this option under Tools Menu item of Designer).
    --Santosh

  • How to Conditionally make some standard fields read only in OSC Simplified UI?

    Hello everyone, We have a requirement to make certain group of fields read only based on the value in another field. For example if the status changes to "Closed" then make the Name and Address fields read only. All these fields are standard fields. Is this possible in Oracle Sales Cloud?

    Post your problem in the forum for LiveCycle Designer.

  • Is there a script for making a digital signature read-only after signing?

    When the user signs a PDF Form, the user can clear his own signature. I want to disable the "Clear Signature" feature. I noticed I can run a Javascript in the digital signature's property. Is it possible to execute a Javascript to make just that signature Read-only?
    Thanks.

    If the person who signed the document has Acrobat Pro, you could use the flattenPages() method, which lets you specify the page(s) to be flattened.
    For example:
    this.flattenPages(0)         //flattens page 1
    this.flattenPages(0, 2)     //flattens pages 1 - 3
    But if they have only Reader, they can't use flattenPages().

  • 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

  • Read-Only after signed.

    Hello,
    I am trying to make some forms that can be filled out, digitally signed and made read-only when the content is sent back to us. I have been through most of these forums and looked at a lot of samples and can't find how to do something in Live Cycle Designer that was easily done in Acrobat Pro. I have the forms done, but one problem. I want to make the local form read only once digitally signed, and/or the data submitted via e-mail.
    In Acrobat, you simply go to the Digital Signatures - Properties - Signed Tab and select the box for Mark as read-only.
    In live Cycle Designer though, it has me delving into java scripts (which I know a little bit about but not a programmer) and such but none of that is clear on the subject. So, I was looking to these forums to see if someone could help this old jar head out.
    Thanks

    Good Morning,
    Derek S Jones, which Adobe Designer Version are you talking about?
    I'm trying Adobe LiveCycle Designer 7.0, and I can't find any "Document Signature tab" on the Signature's field Object palette!
    Have I to configurate any toolbar?
    Thanks a lot.

  • How to make a User Field Read Only?

    Hi,
    How can i make a title userfield in a Document Form read only?
    I can't set enabled to false i just want to make it read only.
    I had tried to capture de key_down event on the user field, nothing happens!
    I had tried to capture de form_key_down event on the user field... SAP throws the event without the item id reference.
    Is there a work-around for this?
    thanks,
    Ricardo Momm

    Hi,
    1. capture et_click and click to another item, also save the original value to a variable
    and/or
    2. use et_validate with before_action = true to be sure the item hasnt changed and set bubbleevent
    to false when the value is different from the variable
    regards
    David

  • How Make the Report Fields Read only

    Hi I have drop down selection in a Report field.After selecting a particular value and submiting it the field should become readonly.

    Hi SanjayBala!
    Create a conditional branch that will be executed if your select list submits (the branch must be conditional. The conditiontype is request = e1 and e1 is the name of your select list). This Branch ought to have a request (lets say select_list_ro). Create a read only condition for your select list (request = e1) that comes to use if the current request is select_list_ro.
    Hope that helps!
    yours sincerely
    Edited by: Florian W. on 03.02.2009 14:04

  • Need to make a dff field read only if it has data

    Hi,
    we added dffs to the manage sites page, i am extending the controller to do some validations of this DFF page. I need to make dff read only if it has some data. The following code is not working.
    public void processRequest(OAPageContext pageContext,OAWebBean webBean)
    super.processRequest(pageContext,webBean);
    OAApplicationModule xam = paramOAPageContext.getApplicationModule(paramOAWebBean);
    OAViewObjectImpl DffVO = (OAViewObjectImpl)xam.findViewObject("SitesFlexVO");
    OAViewRowImpl DffRow = (OAViewRowImpl)DffVO.getCurrentRow();
    if(DffRow.getAttribute("Attribute1")!= null)
    OADescriptiveFlexBean dffBean = (OADescriptiveFlexBean)webBean.findChildRecursive("Attribute1");
    dffBean.setReadOnly(true);
    can you please suggest whats wrong and give me a correct solution.
    Thanks,
    Kiran M.

    Thanks for the reply nani,
    it didnot work, i am getting the following exception.
    ## Detail 0 ##
    java.lang.NullPointerException
         at xxtjx.oracle.apps.pos.supplier.webui.XXTJXByrMngSiteDFFCO50.processRequest(XXTJXByrMngSiteDFFCO50.java:43)
    The error line 43 in my code is
    dffBean.setReadOnly(true);
    so i feel there is something wrong with this command. I kept this validation in process request and i am able to fetch attribute values in process request. so i feel there is no issue fetching the attribute value. i feel its the issue with the set command.
    Let me know if you have any other solution.
    Thanks,
    Kiran M.

  • Creating a button that will make fill in fields read only.

    I am having problems trying to research this issue that I am having, so thank you in advance to all who reads this and assists.
    What the overall goal is for me to create a form that I can send to a client and whenever they type the variable information in, they would check a box that would a) hide itself and b) lock certain fields but leave at least one open so they can send it off to their clients without worry of information thy have entered changing.  My client has acrobat reader and I am looking for the easiest solution without having to suggest them to upgrade. Also, I am not that familliar with java scripting (yet) so some of the forums I have read seem rather confusing to me even when I try to use the scripts provided.

    Just insert a link that uses mailto in the Add Filter or links dropdown just like you would with any other hyperlink.
    Example:
    mailto:[email protected]
    Here is a detailed info on how to create mailto links
    Mailto Link Syntax: The Complete Guide - Yoast
    Hope this helps 

  • How to make fields Read only on all tabs in one go with the help of feeder classes in SAP EHS?

    I have a requirement where once we press SAVE button i have to make all the fields read only in tabs highlighted below.Which is the best method to do it.?
    There are number of fields in all these tabs and we want to make them read only on particular Action event.How to do it?
    Thanks,
    Vimal

    Hi Vimal,
    As I understood you reformulate this question at this page. I will try to help you there.
    Kind regards, Aliaksandr.

Maybe you are looking for

  • [Athlon64] CPU cant see my other HD I want to use for storage

    Ok so I have the msi k8n-neo v with 3000+ athlon 64, Im running win xp 32, I had too much problems with win xp 64 ( wasnt running my games well ) ANYHOO... I have a 120 gig sata WD HD, now I have this other HD WD 40gig but its not SATA.  It has windo

  • 4.1 on Windows 7 RC 64bit

    Premiere Pro 4.0.1 has been working perfectly on my test Windows 7 RC 64bit system on a Dell 690 workstation.  I installed the 4.1 via the help update (410MBs).  Guess what?  The AVCHD and HDV along with the Sony XDCAM options were not available - th

  • Digitized thread in importing mini-DV

    I am importing from a Panasonic Mini-DV (not HD) and in the first few minutes of the clip (30 minutes total) the image has lots of digital blocks and the like and is very poor quality. Then after 2-3 minutes it's fine. It's not on the original. Any i

  • F.05 Error 806 on Reverse Postings in SAPF100

    Hello, When I run F.05 (in test environment) current period postings complete ok, but I get Error 806 on my reverse postings. Has anyone seen this error and know what causes it?  I have verified that the next posting period is open and that reverse p

  • Itunes update woes

    I have updated to ITunes 11.1.5.5  It loads OK and I can access my music but when I go to the Itunes Store it apologizes and has to close.  I have uninstalled and reinstalled with the same results.  I have tried to go back to old versions but it won'