Make form read only if a field is filled in

Is there a way to make an entire form read only if a certain text field is filled in?  I know that adding a digital signature field to a form, increases the size of the form, so I would prefer not to add a digital signature field to my form.  However, I would like the feature that says after the form is signed, it is read only.  I added a text box to the form and tried to add some script that read:  if (this.rawValue != "") (this.access = "readOnly"), but that didn't work.  Is there a way I can accomplish this without adding a signature field to the form?

Hi,
It depends on where you placed the script, probably best place is the exit event.
if (this.rawValue != null || this.rawValue != "")
     this.access = "readOnly";
else
     this.access = "open";
This will only lock the field that the script is inside.
You should check out Paul's example LockAllFields, which contains a function in a script object. While Paul calls this from a click event in a button, you could call it fromthe exit event of the particular text field.
Re: Saving Fillable Form as non-fillable PDF
Hope that helps,
Niall
Assure Dynamics

Similar Messages

  • How to make form read only

    hello
    is it possible, and if so how, to set a form to read only. i will have 2 oracle responsibilitys. 1 group will enter the data and save it . the other will only be able to view the form as read only.
    any ideas is helpful
    thanks
    james

    This can done using SPEL , Make a VO with transient attribute with boolean Type.
    For one responsibilty set this attribute value to true where you want readOnly behaviour.
    code should be like that
    OAViewObjectImpl pVO = YourPVO();
    OAViewRowImpl pVORow = (OAViewRowImpl)pVO.first();
    If(Check for responsibilty)
    pVORow.setAttribute("IsEditMode", Boolean.TRUE);
    On page level set spel for disable/Readonly property for item for them you need show as readonly
    like
    ${oa.YourPVO.IsEditMode}
    Hope it will help you.
    Thanks

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

  • To make RFQ form or Quotation form read only after the satus is made closed

    Hi All,
    I have a requirement where we need to make all the fields either on RFQ or Quotation form read only/freezed/greyed out once the document status is made Closed from Active satus. The User should not be able to change any value in the RFQ or Quotation form. The same needs to be achieved in core purchasing module. Looking forward towards kind suggestions. Thanks.
    With Best Regards,
    Nirabh Nayan

    Hi,
    Please perform form personalization.
    Triggering event : WHEN-NEW-RECORD-INSTANCE, WHEN-VALIDATE-RECORD
    Triggering object : PO_HEADERS
    condition : :PO_HEADERS.STATUS='Closed'
    In action, Type : property
    Object type : Block
    Target object : PO_Headers
    Property name : update_allowed
    value : false.
    Like this, you need to create a actions for all the Blocks available in RFQ/Quotation Form ( ex: PO_lines, PO_Shipments etc)
    Thanks,
    Subhashini

  • Make detail items in master/detail form read only

    I want to make detail items in master/detail form read only for certain conditions (master STATUS = Closed). I see how to do this on the master record items but not on detail items.

    Take a look at this thread: Re: Conditionally make a tabular form uneditable
    You will need to modify the code, but it should help since a master detail is just a standard form with a tabular form attached to it..
    Thank you,
    Tony Miller
    Webster, TX
    Time flies like the wind, but fruit flies like bananas.

  • Tabular Form - Read only condition for certain users

    Is it possible to make a select list field in a tabular form read-only to certain users? Here's the situation:
    The tabular form lists the users who need to select "Approve" or "Reject" in that field (they are approving or rejecting an engineering change)
    I want all of them to see the approval/rejection of their team, but only have access to edit the select list associated with their record.
    Thanks in advance.
    Apex 4.0.0.00.46

    You could use either "authorisations" tab or "conditional display" for the relevant column attribute.
    Report Attributes->Column Attributes->authorisationsIt would be better to have some more detail about what you are trying to get (maybe a quick mock up of the form, for example) but, I can envision something along the lines of the following:
    For each approval/rejection field:
    1. Create an authorisation appropriate for access to to each approval/rejection field e.g. authorisation scheme "FOO"
    2. In the relevant fields column attributes, set the authorisation to "FOO"
    3. now create a read only "public" copy of the above field, using the "display as text (based on LOV does not save state)" - set the authorisation for this field as "{NOT FOO}"
    (if you don't want to use authorisations, you could build an equivalent using "conditional display" instead, which is basically the same thing, except column specific)
    The downside is of course that you're duplicating fields in your query, which creates a bit of redundancy. There may be better ways to achieve this (maybe you could make use of the APEX_ITEM api, for example) but this is fairly easy to set up IMO.

  • Best practice for making form read-only at certain steps in process?

    I have a process with a single form and 4 Assign Task operations.  During Assign Task operations 1 and 3, the form is edited.  During Assign Task operation 2 and 4, it should be read-only (it is reviewed and acknowledged, but not changed).   There is no single criteria in the form data that indicates whether a form should be read-only or not -- this is only signaled by the step in the process.  What is the best way to manage the read-only state?
    Is there a way to make the form read-only via a setting in Workbench, or should I do this via a script in the form?
    Thanks!
    Toby

    I have a process with a single form and 4 Assign Task operations.  During Assign Task operations 1 and 3, the form is edited.  During Assign Task operation 2 and 4, it should be read-only (it is reviewed and acknowledged, but not changed).   There is no single criteria in the form data that indicates whether a form should be read-only or not -- this is only signaled by the step in the process.  What is the best way to manage the read-only state?
    Is there a way to make the form read-only via a setting in Workbench, or should I do this via a script in the form?
    Thanks!
    Toby

  • How to enable extension button of select-options but make it read only

    Hi all,
    I have select-options with extension on my selection screen. It has to be read only. But when I give screen-input = 0, even the extension button is disabled. So the user cannot see multiple default values of that field. How should I enable the extension button and still make it read-only.
    Thanks in advance.
    Vasu

    Hi, try below sample code:
    data: gv_bukrs type bukrs.
    SELECT-OPTIONS s_one for gv_bukrs.
    at SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        if screen-name = 'S_ONE-LOW' or screen-name = 'S_ONE-HIGH' .
           screen-input = 0.
           MODIFY SCREEN.
        endif.
      ENDLOOP.

  • 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

  • Any way to make Contacts Read Only in Server 10.8/9

    I have turned on OS X Server Services Contacts (in either 10.8 or 10.9), set up a user account, added that account as a CardDav to a computer(s) made a group(s) of contacts and imported some vcards so everybody can see them in their Contacts on their computers in 10.8 or 10.9. Everything fine.
    What I can't figure out is if there is any way to make them Read Only, allowing only a selected group to have Read/Write privileges. When you have hundreds of employees many of them will end up editing something in the "public contacts" that they shouldn't have done or delete them completely.
    If they were read only that would be great.
    Any ideas? Other then an exchange server there isn't much out there for Macs.
    Thanks,
    Todd

    Update -
    I found a way to make this work. And it is free!
    Forget Apple OS X Server Service Contacts.
    Use Sogo instead. Works perfectly and is extremely fast in handling our 5000+ public cardev records and 1000+ cardev private records!

  • How to make files read only

    I want to make files read only.  Any workaround is welcomed.

    t quinn wrote:
    ElMagoElGato,
    I am glad to give some help but I am still confused because we are having different experiences. I have been able to lock Tables on my mac and have that lock respected in iOS for a long while now. Easy to unlock, impossible to relock.  With the most recent upgrade I can lock tables after tapping the upper left dot to select the whole table and going to "arrange" in the paintbrush.
    When you say worksheet are you meaning the entire file? When you say file lock are you meaning password protection? You can see I am confused.
    quinn
    Based on what ElMagoElGato has described, password protecting would be of no value to him. Once the file is accessed, it is in edit mode. Unless I'm really missing something.
    Files I have imported from Mac iworks apps with elements locked stay locked for me in iOS. Not sure what the problem is.

  • How to make JTextArea read only

    I want to make JTextArea read only so that you can only append text at design time and not at run time and so the user can not delete text in the text area.

    You can use the setEditable(boolean) method. I think that it's the best way.
    Sebastien

  • Managing External Content Types - make it read only?

    I have a simple SharePoint list with an External Data column. When I edit item where the corresponding data was removed from the External Content Type I get this error:
    No exact match was found. Click the item(s) that did not resolve for more options. You can also use Select button to
    choose External Data.
    I assume this is by design and I cannot delete underlying data and keep the value in the list - is this correct?
    So my question now - is it possible to keep that info in the external list but disable in a picker so new records cannot be created with that particular value? How do I do it?
    Thanks,

    I don't understand the question exactly, could you restate it.  Sorry mate, I might just be braindead.
    But, as far as the issue, it is by design.  the column is a lookup columns which essentially ties to the external data.  if that data is removed, the column on your simple list becomes invalid and any edits of the simple list item will require
    it to be changed.
    are you wanting to make the ECT read only?  that's simple enough.  you can pop open SPD and edit the ECT, then remove the C/E/D operations (create/update/delete).  That will not, however make it read-only in any other systems that access that
    external data, as I assume its not just SP or else it wouldn't be external
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • How i can make forms read form nls and reports read from anather

    hi evrey one
    how i can make forms read form nls_lang and reports read from anather nls_lang ,
    I think that this property is found in the file format .ini,
    I forgot his name,
    Is there one has found this information,
    pleez share.
    thanks.

    At a minimum, the creation of the TcpClient will need to change its parameter to the name of server you want to use:
    TcpClient tClient = new TcpClient("gmail-smtp-in.l.google.com", 25);

  • Make a read-only text field open by using button and javascript

    Hello
    I have a form with text fields that I will pre-populate with data. The text fields will be read-only by default. I want to make it so that when a user wants to make edits, he will need to click on a button and in turn, the text field's background will turn gray and he can make edits to the text field. I can already make the background turn gray but I cannot make the text field open.
    This is the code that will run after the button is clicked:
    color.ltGray = new Array("G", 0.75);
    this.getField('TestField').fillColor = color.ltGray;
    this.getField('TestField').access = "open";
    The text field's background turns gray but it is still read-only. Any ideas?
    Thanks in advance!

    Here's the online version of the Acrobat JavaSript documentation: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/wwhelp/wwhimpl/js/html/wwhel p.htm?href=JavaScript_SectionPage.70.1.html&accessible=true
    It's also available as a PDF in the Acrobat SDK.
    Regarding your other question about adding a PDF to another, do you want to add it as an attachment, or add the pages from one PDF to another?

Maybe you are looking for

  • Flex Builder 3 Beta 3 Debugging not working with latest Flash Player Debug

    First to emphasize that never had such issues with Flex Builder 2 Beta 2 and Flash Player 9.0.47 Debug version. I downloaded Flex Builder 3 Beta 3 and installed it. Then trying to debug any Flex app (old or newly created) does not work. I don't get a

  • Multiple touches on one itunes account

    I have a Ipod touch and my husband wants to get one. I have a few questions. 1. Can both touches uses 1 itune account? 2. Can each touch select certain items to sync or is it all of the apps? 3. If each had a separate account can each snyc to the oth

  • Audio output device same for all users Yosemite

    I use more then one account on my recent Macbook Pro.  For the first account I like to have the audio output set to the speakers but for the other account I want the audio output set to the headphones.  With Mavericks the Macbook remembered the last

  • Any one know if PS CS5 will work with Lion?

    The first thought I had upon seeing that Lion was going to be released next month was: WILL PHOTOSHOP WORK? I had so much trouble with CS4 and Snow Leopard, I literally waited until just 2 weeks ago to upgrade to CS5. I haven't been on mac all that l

  • How to copy Partner Procedure from Downstream Template to all other clients

    Hello, My problem is SAP std Partner procedures (e.g. OTR) is not available in our freshly installed IS Oil Client. I found out SAP note no. "100151 - TD Partner procedures in IS-Oil bulk shipment" which is identical to my problem. However the said n