0

Is it possible to rerender an apex:inputText field immediately when the user changes the value of the field? In my application the form's input fields look different if they are already populated (true in some cases) compared to when they are empty or need to be filled out. I have tried using

<apex:actionSupport event="onchange" reRender="<outputPanel-ID>"/>

and

<apex:actionSupport event="onblur" reRender="<outputPanel-ID>"/>

within my apex:outputPanel but this did not change anything.

  • 1
    Doing a server round-trip each time the user changes the field value may lead to poor user experience. Can you make the changes you need in client-side JavaScript? – David Reed Jan 16 at 14:25
  • I could write a script, I was hoping to handle this with out of the box features. – MAS89 Jan 16 at 14:28
  • Without seeing your code, it would be hard to know more about what's wrong. Generally speaking, it is possible, though not advisable, to do so. – sfdcfox Jan 16 at 17:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.