You need to sign in to do that
Don't have an account?
Sandhya K 10
How do i retrieve a value in <textarea> in VisualForce Page when using standardController ?
I am using StandardController="Emploee__c" , able to retrieve the input text , while unable to retrieve the value in textarea.What would be the problem ? And how do i retrieve it. My requirement is I want to use the textarea tag only.
Note : I am able to save the value I entered in the text Area , but value not retrieved on my VF Page as it did for input text , when I give the Id in the URL.
How to retrieve value in text area when I give Id in the url.
Note : I am able to save the value I entered in the text Area , but value not retrieved on my VF Page as it did for input text , when I give the Id in the URL.
Name : <input type="text" value="{!Emploee__c.Name}" id="nm"/> <textarea id="resizable" rows="5" cols="20" value="{!Emploee__c.Long_Description__c}" ></textarea> <button onclick="save();" >Submit Form </button>
How to retrieve value in text area when I give Id in the url.
Hi Sandhya,
Check the field level security for your profile for the field Long_Description__c and make it as accessible for your vf page. Visualforce limits the field visibility based on this even if you're System Administrator and they're often left blank.
Let us know if it helps,
Thanks,
Balayesu