function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
tbfan6789tbfan6789 

Rerender inputText on VisualForce

On my custom visualforce page, I have an input Text that allows the user to enter an email address. However, I have a child window that does a contact lookup and lets the user select certain contacts that should populate their email addresses onto the same input Text on the parent window. However, the input Text does not Rerender. What's the best method to rerender an Input Text field? I want the user to either be able to select a contact's email from the Account which should then write to the input Text or just enter the email manually on that same field.

 

I hope this makes sense. Please let me know if you need anymore information.

PrakashbPrakashb

Try to add your inputtext within outputpanel and rerender the output panel whenever a Contact is added to your lookup field.