3 Replies Latest reply: Dec 14, 2012 2:24 AM by 714270 RSS

    TEXT FIELD UNEDITABLE

    973552
      HI

      i have a question for you all can you kindly help me. How to make a text field uneditable?

      Thanks
      pritham
        • 1. Re: TEXT FIELD UNEDITABLE
          603257
          Edit the item, go to the "read only" section and select "always".
          • 2. Re: TEXT FIELD UNEDITABLE
            973552
            Thanks for you reply. what do we need to give for Read Only Element Table Cell(s) Attributes after we set read-only to always
            • 3. Re: TEXT FIELD UNEDITABLE
              714270
              970549 wrote:
              what do we need to give for Read Only Element Table Cell(s) Attributes after we set read-only to always
              You do not need to specify anything there.

              Just FYI, the other option to set the field as readonly is to specify the following in the "HTML Form Element Attributes" field:
              readonly="readonly";
              If you wish to disable the page item, you can write the following under the "Execute when page loads":
              $('#<your-page-item-name-here>').attr('disabled',true);