Forms: Fields read-only

How you code a form so that a field is read-only?

OK, you use JS in the JS Landing page editor to manipulate the fields after they have been generated on the page, such as:

document.getElementById('yourfieldID').readOnly = true;

You may need to play with js a little so he can run effectively on the page (i.e. by adding a function and which do not).

Tags: Marketers

Similar Questions

  • make form fields read-only without buttons

    Hi, I want to make my form fields to read only using JavaScript. I found codes below and it's work.

    My problem is, I do not read only buttons. I send button on my form. Offer other than the button

    others all the fields I want to make read-only... so please help me to do it. Thank you...

    do all the fields in a form read-only;

    var oField; variable field processing;

    Browse the form fields;

    for (var i = 0; i < this.numFields; i ++) {}

    treat each domain name;

    oField = this.getField (this.getNthFieldName (i)) .readonly = true;

    }

    PDF form javascript to read only field using the button

    This code is a little strange. Use it instead:

    for (var i = 0; i < this.numFields; i++) {
        var oField = this.getField(this.getNthFieldName(i));
        if (oField.type!="button") oField.readonly = true;
    }
    
  • form fields read only/hidden se

    I have a plugin pre-population for one of the fields that generates a number from a sequence of oracle, I don't want applicants to change, so I would like to hide or make read-only.


    Also, can I put text aid label to put in some instructions?

    It seems that gift you want to allow the author of the request for modification of the data, but they would be able to see.

    As far as I KNOW, it is not possible in the current OIM 11 g Architecture.

    Only approver fields will be visible to the approvers only.

    Help text that you would be able to add only after customization of the user interface.

  • How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    How to make all the fields on one page read only (for the recipient) without having to make each field read-only?

    Hello Jmbtexas4,

    By default, you will need to individually click on the fields of the form and check the 'read only' and save it. From now on, it is not possible to select all together and make the changes.

    -Usman

  • Marking of fields read-only when signed - unable to untick the box

    Hi people,

    I use Adobe Acrobat Pro XI.

    I have a form with Signature fields that have been set to make some fields read-only once the signature field is signed. I can bring up the Properties window with the list of fields to choose from and can't seem to "Select all" and "Uncheck all" using the button, but can't check or uncheck the individual fields. When I click on a field of what I pointed out but I can not "check" it.

    No idea why this would be?

    Thank you.

    Click on slightly outside and to the left of the box to select/deselect the.

  • I'd do the signature field read only until something is entered in the required fields.

    I'd do the signature field read only until something is entered in the required fields.

    Attached a sample file that has two text fields and field of signature, the signature field allows only when certain values are typed in two text fields.

    Steps to achieve this:

    (1) disable the signature field when the form is loaded

    (2) to activate when the two text fields values are not null

    Santosh-

  • The exact text of the text field to another field read-only

    Is there a way to display the string of exact text in the field of text within other text fields read-only?

    For example. I have fields of name on the first page and I have the same names mentioned in the other pages, but want to fill the other pages with the text name of the 1st page.


    Options tab > Default value doesn't seem to work, so maybe I can use calculate tab > simplified field notation.

    I have a domain called "Client_1_Name_Cover" and "Client_2_Name_Cover", so name to bind these two text fields only reading on other pages.

    You can use the validation script custom following in each of the two fields of name on the first page:

    Copy the value of this field in the field read-only

    getField("Client_1_Name_Readonly").value = event.value;

    but you must replace 'Client_1_Name_Readonly' with the actual name of the field read-only.

  • Text field &amp; &amp; read-only attribute

    Hello everyone,

    I have a text field with the read only attribute is on, I need to activate only the Back Space key.

    If someone has an idea to do, please tell me.

    Thank you and best regards,
    OLA

    If you require a read-only column, only to be read-only other characters than the BACKSPACE key (deletion)? Don't you see that this would NOT be a field read-only? You need a piece of JavaScript to reject all keys but this key when you are in this text box.

    
    

    Thank you

    Tony Miller
    Webster, TX

    If vegetable oil is made from vegetables, then what is baby oil?

    If you answer this question, please mark the thread as closed and give points where won...

  • How to fill a field read-only based on selections from 2 DDlists?

    Follow-up question:

    http://forums.Adobe.com/message/2417876#2417876

    I have 2 drop-down lists.  'Department' and 'unit '.

    The selection in DDlist 'Department' creates a single list in DDlist 'unit '.

    I select the appropriate of these two DDlists elements.

    When I do this, I want the text read-only 'NameOnIDBadge' field is filled with a predefined entry.

    Example:

    In DDlist "Department", select the item «Finance & Administration»

    In DDlist 'Unit', select the 'Food Service' item in the list that appears

    THEN:

    In the text field read-only 'NameOnIDBadge' of the following built-in read-only text appears: "contract food serv.»

    (Thanks to Paul, I already know how to do selection in DDlist 'Department' affect the selection list in DDlist 'Unit')

    "but I don't know how to make the choice of these two DDlists to create a new entry in a text field).

    I have attached a mock-up of the file that I work with...

    If ((firstDDList.rawValue="Whatever") & (secondDDList.rawValue = 'Whatever'))

    yourTextBox.rawValue = "the text on the right"

    This code would go under the second output of DDList event, replace the code I put in there to add the control to the first DDList

  • Field read only based on the authorization form

    Hello

    I have a field in a tabular presentation read only based on a permission scheme, as you can for a field in the region with the help of a condition of PL/SQL. Is it possible to do this?

    See you soon,.
    Andrew.

    Hi André,.

    Caught this idea,

    Please create a plus column within the report using as "alaisecolumnname" then

    column with editable text for authorization schema [ISADMIN] box
    draw sheet column with displayonlytext for authorization shcema [NOTISadmin]

    I hope that it will match your expected results, I tested it in my workspace works very well for me

    Thank you
    Select this option.

  • How to activate a field read-only for data entry.

    Dear all,

    In fact, I'm bring a form simply queries the table of database data and shows it. It presents the data in readonly textfields.

    There is a button that can create a new line. The problem is when the system is to create the line he is creating the messagefield readoly.

    In order to overcome the situation that I wrote the code below

    mainVO.last () .setAttribute ("IsTextReadable", Boolean.TRUE); To make the last row entrable for the user.

    But the system gives the error when the user is pressing the button create

    Details of the exception.

    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: Houston-25058:

    IsTextReadable of the type definition of that attribute is not found in XxphccamsfdbmstdtlrVO1

    Could you please suggest me how to make the textfield readonly can be changed dynamically.

    Concerning

    Rajat

    Dear Stephanie,

    Thanks for your reply. I solved the problem and it was pretty simple.

    I created a transient in the VO and attached attribute the transitional attribute to the property read-only from the field using SPEL (${oa.) XxamsfdbdtlrVO1.Viewenb}).

    Select the line that you want to update and run it.

    row.setAttribute ("Viewenb", Boolean.TRUE);

    Concerning

    Rajat

  • Forms-text in form fields appears only after email

    Hello

    I had a horrible to work with Acrobat time lately. I work for a clothing company and do an order form which must be able to be sent to customers, filled out and saved, then sent to us. I filled the column 'price' Acrobat and made sure it is unalterable. However, when this file is sent to the clients, they claim that the numbers of the price column do not appear.

    I use the latest version of Adobe Acrobat Pro on a Mac OS Leopard. I have extended functionality in reader.

    At one point, I sent the file to my employer and he entered random numbers into the other columns (those intended to be used by visitors) and he sent it to me, as well as her business partner. Not only prices showed no upward, but these numbers were not there too. However, I noticed that I could see the numbers as soon as I clicked on their form field. But, the same file has been sent to another employer, and he said that he had No trouble seeing all the figures. I don't know if it will use Reader or Acrobat, but I use the latest Acrobat Pro and do not see the numbers.

    What have I done wrong? I scoured the menu properties, font changed for compatibility problems, etc.

    Any input would be appreciated. Thank you!

    This type of behavior seems to be common when the user changes the PDF file using something other than

    Acrobat or Reader, such as Preview. See if they install Reader and test it again.

  • How to do a bunch of fields read only value-based

    IM using jdev 12.1.2.

    I have a fragment with a few dozen jsff fields. I need to make these read-only or editable fields based on a value. I know how to do this for each field, but I was hoping there was a way to do this for each of them with a single property. For instance, all the fields are in a panelgrouplayout or a panelformlayout can I set a property on this provision which will set then all areas reporting to him read-only. I was just trying not to put the property read-only on each field of monkey.

    There is none of these goods or componentwhich allows you to do. All you can do is to set the readonly property of each field to the same property (bean or pagedef) and ppr the container so that the components are updated.

    Or you use a bean method that sets all the fields editiable readonly properties in a contianer orf true false. It would save that you set the property for each field.

    Timo

  • Strange question: Hyperion Planning Forms becomes read-only and data are destroyed: 11.1.2.2

    Hello

    Let me start by saying that I am not new to Hyperion Planning. We encounter a weird problem in our Test System. We notice that some (NOT ALL) of our tour of webforms in readonly webforms. all the cells in the gray form. It comes to despite the fact that the read-only checkbox is not checked in the form as well as the security is fine on all dimensions; Basically, all the cells of the form are valid combinations.

    The form becomes readonly, and all the data on this form is always Wiped. This has happened only for two web forms so far. We took a lot of Calc (none of the Calc have cleardata command). We do not know why this is happening. Maybe it's a bug in the product... not sure. has anyone seen this behavior before?

    Please let me know.

    -

    PK

    Please skip this question. It happened because someone on my team had added a member under umbrella of level 0.

  • Define a field read-only under certain conditions in the table of the ADF

    Hi friends,
    I'm new to ADF. I created a page basic jsf and display of data from the countries in the table. I also have the createInsert and validation on the page buttons. When I click on create to insert a new record is created, and I am able to enter and save it with success. However, I want the records already entered to be read-only.

    Essentially, I want the user to enter details only by inserting the new record. Existing records or registered once newly created records should not be editable. I tried some things in the expression builder of the attribute read-only for the field, but this deos not work. Can anyone help me please with this.

    Thank you

    Using ADF BC?
    If so, check http://mjabr.wordpress.com/2011/07/15/control-row-updatability-part-2/

Maybe you are looking for