1 Reply Latest reply on Oct 18, 2019 8:53 AM by fac586

    Apex Textfield Read-Only but focusable?

    MarkusAPEX

      Hey,

       

      is there any possibility to make a textfield Read-Only (so basically deny input) while keeping it focusable (tab,mouseclick)? Best case would be via dynamic action so it could be toggled between allowing input or denying it.

       

      Bests,

      Markus

        • 1. Re: Apex Textfield Read-Only but focusable?
          fac586

          3582292 wrote:

          Please update your forum profile with a recognisable username instead of "3582292".

           

          Always include the information described in these guidelines when posting a question: how to get answers from forum

          is there any possibility to make a textfield Read-Only (so basically deny input) while keeping it focusable (tab,mouseclick)? Best case would be via dynamic action so it could be toggled between allowing input or denying it.

          Use an Execute JavaScript Code dynamic action with jQuery code to toggle the readonly attribute on the item.