Re:read only propery of interctive forms..

Hello Experts,
    Can you suggest me  how to make the fields read only dynamically in an interactive form using javascript...
Regards,
udaya.

You may 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:
Link: http://forums.adobe.com/message/3121870?tstart=2

Similar Messages

  • Fields appear as "Read Only" in an Int.Form called from a WD

    Hi Experts!
    I am having a doubt in an Adobe Int.Form, that is called from a WD application.
    The fields that are in my Form, always appear as a "read only". It is not possible to modify anything there.
    Here, I describe the steps that I follow.
    I create a very simple WD application. In its WD View, exist an unique Object (Adobe Interactive Form).
    In that object, I set the properties:
    "Data source": a context variable type "my structure". "My structure", is a simple structure with a couple or three fields, let´s say PERNR, BUKRS, WERKS... It is linked to the Form Interface (ABAP DICTIONARY-BASED INTERFACE). So in this way, the link between my WD and the AdobeInt.Form is working.
    "PDF Source": a context variable type XSTRING.
    "Template Source": here I have set my Int.Form. Currently, it only contains a couple of fields
    "Enabled": True.
    "Read Only": False.
    In the AdobeForm, I have drag & droped those 2 or 3 fields, save it, and activate it. I guess nothing more is needed, for my test.
    And at last, in the View´s method WDDOINIT, I am reading one of those fields, let´s say the employee number (PERNR), and I set by hardcoding its number (let´s say -> 00000001).
    Until here, everything seems to work fine. When I launch the WD test, the Adobeform appears, at the moment, with only one of my fields (Employee - PERNR), and its value is filled in with '00000001'.
    But now, I would like to write something by myself. And when I try to do it, it is not possible! Field PERNR, is displayed as a "READ ONLY".
    Someone knows what is happening here? I guess it should be possible, to activate as a "EDITABLE" that field in my Form.
    So here is my doubt.
    Am I doing anything wrong? Or am I doing any mistake?
    Thank you very much in advance!

    Finally I think I have found the problem.
    In the View where I am printing the ADOBEFORM, it is needed this code under the method WDDOMODIFYVIEW.
    method WDDOMODIFYVIEW .
      DATA: LV_INTERACTIVE_FORM   TYPE REF TO CL_WD_INTERACTIVE_FORM,
                 LV_METHOD_HANDLER     TYPE REF TO IF_WD_IACTIVE_FORM_METHOD_HNDL.
      LV_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT( 'INT_FORM' ). "   adobeform object in view
      IF LV_INTERACTIVE_FORM IS NOT INITIAL.
          LV_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
          LV_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( ABAP_TRUE ).
          LV_METHOD_HANDLER->SET_HIDE_NAVIGATION_PANEL( ABAP_TRUE ).
          LV_METHOD_HANDLER->SET_DISABLE_PRINT_BUTTON( ABAP_TRUE ).
          WD_THIS->M_METHOD_HANDLER ?= LV_INTERACTIVE_FORM->_METHOD_HANDLER.
          WD_THIS->M_METHOD_HANDLER->SET_HIDE_TOOLBARS( ABAP_TRUE ).
        ENDIF.
    endmethod.
    Regards,
    Carles

  • Read only column in tabular form

    There is a not null column ( say SEQ) in a tabular form that is getting an auto value from other process. 2 more columns need user input on each row.I need to make this column(SEQ) as read only.
    If I make this column (SEQ) as standard report column then when I submit the newly added row , I always get ORA-20001 error- can not insert NULL into SEQ.. even though I can see there is a value there. Switch ithe column back to text field, the insert went just fine .
    How do you solve this read only column issue ?
    Thanks a bunch for your help.
    Tai

    thank you for your reply.
    Nope, SEQ is not the first column. Primary Key is and I leave the pK alone.
    When I press ADDROW button , tabular form is like the following: ( table alreay has 2 rows), I auto populate SEQ column and I like to make this SEQ column display only.
    -- represents checkbox
    PK      SEQ      col1           col2
    --     1     890          test1
    --     2     675          test2
    --     3     

  • Making a JSP Form read only based on the form value present in DB

    I need suggestions/examples as i am newbie into java stream.
    I have two JSP pages 'Add Page' and 'Edit Page' .
    Add Page -> In add Page,I have many text boxes,select drop-downs options. In one select drop-down I have values as Locked and open .I can save this page contents in DB by entering those form values.
    Edit Page -> In eidtPage,once saved in DB, based on 'select drop-down- Locked and open' If it is locked i have to make all the fields (text boxes and select drop downs) as read only and if it is open i have to make it editable.
    I am taking all the values from DB,setting to 'form bean' and then setting up the values in session and forwarding it to JSP page to populate there .I am using beehive net UI tages in JSP. Please help me out.

    Not sure I'm following what you want, but this might help:
    In your select tag, put something like an 'onchange' event that calls a javascript function. In the javascript function it you add code to enable or disable your other fields based on the item selected from the drop down box.
    To determine what item was selected in a select tag, you write something like the following. I'm not sure of the exact syntax. You can look it up in a javascript book:
    var optionSelected = document.forms[0].selectTagName.options[document.forms[0].selectTagName.selectedIndex].value;
    To enable or disable a textfield, search for this in google:
    'jquery disable input'

  • Display read only field in table / form from another vo

    i came across couple of scenarios where i had to bring a field in a table / from from other vo than on which most fields in table / form were based. in all cases i had to display the field from another vo as read only and there was only one record in other vo which was related to previous vo in table / form. for this i created a view accessor and created a soc with model driven lov. the problem with this is that first element alwasy shows blank in soc. how can i display the filled soc with first element populated and read only in this scenario. i tried alternatively with groovy expressions but other people in team said it is not good practice to use groovy expressions to fill fields in one VO from other VO. how can i acheive this requirement with soc component / lov / view accessors. is there any other alternative as well. jdev 11 1 1 5

    1) in the attribute of the VO select the 'List of values' node and edit the list attribute you see there; in the dialog select the UI Hints tad and make sure the checkmark for the 'Include "no Selection Item' is off.
    2) you can base a VO on to EO which are then joined via one or more attributes (association)
    Timo

  • Execute "Save As" on PDF Form open, Create Read-Only

    I need to create a read-only version of my form so that I can protect the original, so I thought that I could put a app.execMenuItem("SaveAs"); as a new document script to force the user to save as when they open, but it seems to not be working. The file is in a shared dropbox folder, so just a simple read only is not going to work. Is there a better way to achieve what I am doing, or do I just need to change my code?

    Oh man! I was really hoping that wasn't going to be the case! Thanks a lot man, I appreciate the help!
    I'll leave this forum open for another week, maybe someone else has something experimental to try, thanks everyone!
    -tech_geezy

  • Read Only Barcode Issue

    I have a form that was imported from a PDF document in Adobe LiveCycle Designer ES 8.2.  I added a 3 of 9 barcode and the Default value is the form number (*1.764903.105NFS*).  I do not want a user to be able to click on the barcode, so I made it Read Only.  When this form is opened in Adobe Acrobat, I'm not able to click on the barcode, however, when this form is opened in Adobe Reader, I'm able to click on the barcode and the value displays (the form number) - which is what I do NOT want to happen. I have added Adobe Reader Extensions and I'm opening the form in Adobe Reader 9.4 and Adobe Acrobat Professional 7.0.
    Also having the same barcode issue with forms that are designed in LC Designer.

    you can verify your selectionListener event by creating your own custom selection listener
    public void mySelectionListener(SelectionEvent selectionEvent) {
    FacesContext fc = FacesContext.getCurrentInstance();
    String me = "#{bindings.myViewObject1.collectionModel.makeCurrent}"
    MethodExpression myMethodExpr = fc.getApplication().getExpressionFactory().createMethodExpression(fc.getELContext(),me, null, new Class[] {SelectionEvent.class});
    myMethodExpr.invoke(fc.getElContext(), new Object[] {selectionEvent});
    RowKeySet rwKeySet = selectionEvent.getAddedSet();
    and in your jspx <af:table selectionListener="#{package1.view.backing_myBackingBean.mySelectionListener}"/>
    by that way you can atlest verify whats wrong... ,hope this helps,

  • Barcode and Read Only Issue

    Hi,  I submitted this question in LiveCycle Designer and probably should have posted it here....
    I have a form that was imported from a PDF document in Adobe LiveCycle Designer ES 8.2.  I added a 3 of 9 barcode and the Default value is the form number (*1.764903.105NFS*).  I do not want a user to be able to click on the barcode, so I made it Read Only.  When this form is opened in Adobe Acrobat, I'm not able to click on the barcode, however, when this form is opened in Adobe Reader, I'm able to click on the barcode and the value displays (the form number) - which is what I do NOT want to happen. I have added Adobe Reader Extensions and I'm opening the form in Adobe Reader 9.4.
    Also having the same barcode issue with forms that are designed in LC Designer.

    Uncheck Read Only on the song files in Windows Exploder.

  • Possible to make an item editable for certain users and read only for other

    Is it possible to make an item editable for certain users and read only for others?
    I've been able to accomplish this by taken the select statement that I used to define an authorization scheme, placing it in the Read Only condition of the item. However, I would like to simply reference the authorization scheme to utilize caching, and to help keep things cleaner for future maintenance.
    Is it possible to reference an authorization scheme in an item condition similar to the way another item can be referenced by preceding it with a colon (i.e. :P1_First_Name)?

    Thank you, your suggestion worked.
    It would be nice on a future release of APEX if a drop-down box existed under the Ready Only section that would allow an existing Authorization Scheme to be selected or negated when applying the Read Only attribute to a form item.

  • How to make any select one choice attribute read only base on different att

    i have two select one choice attribute .one is create without binding and another one is base on data control .i do not want to write code in backing bean for making attribute read only .
    Example:
    <af:form id="f1">
    <af:selectOneChoice label="Label 1" id="soc1"
    autoSubmit="true">
    <af:selectItem label="Y" value="Y" id="si3"/>
    <af:selectItem label="N" value="N" id="si1"/>
    </af:selectOneChoice>
    <af:selectOneChoice value="#{bindings.ViewObj.inputValue}"
    label="#{bindings.ViewObj.label}"
    required="#{bindings.ViewObj.hints.mandatory}"
    shortDesc="#{bindings.ViewObj.hints.tooltip}"
    id="soc2" partialTriggers="soc1">
    <f:selectItems value="#{bindings.ViewObj.items}" id="si2"/>
    </af:selectOneChoice>
    </af:form>
    on the basis of first select one choice the second select one choice should be disable .
    i know that i need to bind first select one choice to backing bean .also make auto submit true and add partialTriggers in second select one choice .
    please give me hints
    thanks
    prateek

    please give me any example using backing bean .for example
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1">
    <af:form id="f1">
    <af:selectOneChoice label="Label 1" id="soc1" binding="#{Af.l1}"
    autoSubmit="true">
    <af:selectItem label="A" value="1" id="si1"/>
    <af:selectItem label="B" value="2" id="si2"/>
    </af:selectOneChoice>
    <af:selectOneChoice label="Label 2" id="soc2" disabled="#{Af.l1=='2'}"
    partialTriggers="soc1">
    <af:selectItem label="C" value="3" id="si3"/>
    <af:selectItem label="D" value="4" id="si4"/>
    </af:selectOneChoice>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    package a;
    import oracle.adf.view.rich.component.rich.input.RichSelectOneChoice;
    public class A {
    private RichSelectOneChoice l1;
    public A() {
    public void setL1(RichSelectOneChoice l1) {
    this.l1 = l1;
    public RichSelectOneChoice getL1() {
    return l1;
    is there any mistake

  • Enabling folder for read only additional authorization

    Dear Developers,
    I have a problem with UDO form. On my form I have some folder. When a user has read only authorization for this form and open a record of this object all items on this form disabled. I try to enabling with next code
    oUDOForm.Items.Item("Folder1").Enabled = True
    but without luck.
    Anyone has any idea how can I set enabling folders as well as system form, on which event.
    Thank you and regards,
    Nghia

    Hello,
    Items on UDO generated forms using AutoManaged attributes.
    You can use the SetAutoManagedAttribute to get override the Folder system settings
    oUDOForm.Items.Item("Folder1").SetAutoManagedAttribute (ama_Editable,BoAutoFormMode.afm_All,mvb_True)
    You can also set in different cases: Enable all mode first, then disable in find mode: result Find mode will be disabled, but every other will be enabled.
    oUDOForm.Items.Item("Folder1").SetAutoManagedAttribute (ama_Editable,BoAutoFormMode.afm_all,mvb_True)
    oUDOForm.Items.Item("Folder1").SetAutoManagedAttribute (ama_Editable,BoAutoFormMode.afm_Find,mvb_Fasle)
    Regards,
    J

  • Making Multiple Digital Signatures Read-only in Form (Acrobat 9)

    I have created a form which includes two (2) digital signature fields.  What needs to occur with the form is Person1 fills the form and then digitally signs it thereby making the form fields read-only .  Person2 then digitally signs the form which should make Person1's digital signature read-only.
    Here's what I've done:
    1) For the Person1 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields except these> and selected the Person2 digital signature field.
    2) For the Person2 digital signature field, in Digital Signature Properties, under the Signed tab, I have selected Mark as read-only <all fields> since once Person2 signs the form I do not want Person1 to be able to clear the digital signature and make changes to the form.
    Here's what actually occurs:
    Step 1 above works fine.  Once the signature is applied all the form fields are read-only except for the Person2 digital signature field.
    The problem is that after Person2 digitally signs the form, even though I selected all fields as read-only, Person1 can 'clear' their signature which leaves all the form fields available for editing and leaves Person2's digital signature still on the form.
    I honestly don't care about 'validating' signatures on this form since it's going to be printed but I cannot allow Person2's signature to remain on the form and allow Person1 to edit the form.
    --Mike.

    Hi!
    I have the same problem. Have not been able to figure it out, although tried everything.
    Hope somebody can help
    - MackeMan

  • Define read-only authorization for specific field(s) on a form for 11.5.9

    Dear all,
    Can you pls let me know how is it possible to define read-only authorization access for specific field(s) per responsibility / user on a form in 11.5.9?
    For example I want to protect the item master file by assigning for example to users with responsibility buyer authorization to modify the buyer information but to have read-only only authorization on other sensitive fields such as make/buy flag, expense accounts, etc
    Through UI Modeller I have only managed to make specific fields on specific forms invisible, or whole tabs invisible, to specific responsibilities but this does not cover my needs as I want them to be able to view the data of the fields but to not be able to update them

    Arun,
    Almost but not quite.. The example you've given has the person VO at the top level which includes all the id's (City, State etc). My use case is slightly different.
    query 1
         select org_id, OrgName from x;
    query 2
         select emp_id, emp_name from y where org_id = x.org_id
    query 3
         multi-table join (approx 9 tables) to retrieve depts associated to employee
         where org_id = x.org_id
         and emp_id = y.emp_id
    Rather than using LOV's would it be better to create VO's and pass in the bind parameters at run time?

  • Custom Formatting of a ADF Read-Only Form

    From what I've worked with so far, the ADF read-only form will only allow you to pick the number of "rows" and "columns" to format data. Columns titles are aligned to the left and column values aligned to the right.
    But the specs I've been given are for a highly customized layout, with column titles above the column values, and with some rows containing only two columns of data and some rows requiring up to ten columns of data.
    How can I adjust the format of ADF components, like read-only forms, to customize the layout?
    Thanks in advance.

    Thanks for the advice Shay.
    What I need to do is take one view object's data (20 columns) and spread them out, in HTML terms, into multiple tables to provide various TR/TD formats on a single screen.
    Are you saying it is possible to layout a single view object's columns into different layout panels to mimic multiple HTML table formats?
    Thanks again.

  • How to remove a oracle form from read only format

    I need to personalize an Oracle form for one responsibility. But when i open through that responsibility, it is opening in read only format. When i open the same form through super user responsibility, then it is opening up-datable format. I tried different options like 'System Profiles- HR Query only to 'NO'', 'Removing Query-Only'. but still i can open it only in read only format where i need to make some fields up-datable.
    Any suggestions please?

    Hi All,
    I have an Standard E-Business Suite screen.
    This is the Transaction Overview Screen, which is in Read-Only Mode.
    The Value of the unit price is rounded on 2 decimal.
    We tried to change this with Perzonilization, but the the error is coming up
    "FRM-40602: Cannot insert into or update data in a view"
    What are we doing wrong.
    Thanks for your support.
    Best regards Marcel Snoeck

Maybe you are looking for

  • Black Photos in Photo Stream

    Hi Guys, Some photos shot on my iPhone 4s turn up black on iPhoto on my Mac. This affects about 30 percent of pictures and is that way since a few month. Attached a Screenshot. I´ve updated everything recently but it´s the same - Black photos. Do you

  • Generated index is missing indexed items

    Working with book and separate chapter for index. Index generates but is missing index entries. Is it something I'm doing or an InDesign problem?

  • PM Notification: Malfunction report fields

    Dear all, Using transaction IW23 we're able to view PM Notification malfunction reports. I know most data is stored in the physical table VIQMEL. There is only one field I'm not able to locate in a physical table. In transaction IW23 on the "Notifica

  • Drawing a box

    Hi, I've developed a sapscript..... and I want to draw a box arround the date which is in the header..... can anybody help me please..... I'm using this syntax /: BOX FRAME 10 TW  but it is drawing a box on all the header. Thanks

  • I think i faced a great problem please help me immediately

    when i update my iPAD mini with i'tunes there shows an error code 3014 for update. how i solve it????????