+ Start a Discussion

Populate the values in input text field


I created vfp in that i got valuers through input field and i saved/updated in text field of object,
<apex:inputText label="{!month1}" value="{!amount1}"

i just want to stay my last updated/inserted value in that textfiled. Can any one help me for this!
Best Answer chosen by SFDC@Chennai
Grazitti TeamGrazitti Team

You should fetch the value of amount inside your constructor and assign that value in "amount1". so that value will always stay in that input text.

Grazitti Team
Web: www.grazitti.com
Email: sfdc@grazitti.com