+ Start a Discussion
Shamugapriyan SelvamShamugapriyan Selvam 

Input text automatically displayed in text area

User-added image
Best Answer chosen by Shamugapriyan Selvam
sandeep sankhlasandeep sankhla
Hi shamugapriyan,

You can simply call java script function on key press event and then you can keeo one text field after that text and you can assign the value from box to that field..

Please call one javascript onkeypress and then get the input text value from *document.getelementByid* and then assig the value in text field..

P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.

Thanks,
Sandeep
Salesforce Certified Developer 

All Answers

pconpcon
You'll want to look at using the rerender functionality of Visualforce [1] or you can do this with Javascript and jQuery.

[1] https://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionRegion.htm
sandeep sankhlasandeep sankhla
Hi shamugapriyan,

You can simply call java script function on key press event and then you can keeo one text field after that text and you can assign the value from box to that field..

Please call one javascript onkeypress and then get the input text value from *document.getelementByid* and then assig the value in text field..

P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.

Thanks,
Sandeep
Salesforce Certified Developer 
This was selected as the best answer
Shamugapriyan SelvamShamugapriyan Selvam
Thanks Sandeep, Its working fine now.
Shamugapriyan SelvamShamugapriyan Selvam
@Sandeep, Other than "OnKeyPress" any other java script function works for above said scenrio?
sandeep sankhlasandeep sankhla
Hi Shamugapriyan,

There are many methods or events which we use in above scenario..It depends on how you want to use those..onblur event also you can use..which fires when you leave this text box ..like that there are many..please refer below link for other events and use based on how you want to use them..

http://www.w3schools.com/js/js_events.asp

P.S. If my answer helps you to solve your problem please mark it as best answer. It will help other to find best answer.

Thanks,
Sandeep
Salesforce Certified Developer