You need to sign in to do that
Don't have an account?

asiigning values dynamically to visualforce textfields..
Hi everyone,
I am having avisualforce page with customfields,and i want to assign a value stored in a variable ti it iam tryimg to do it like this but its not working plz help me with an example...
var duplicate=anu;
document.getElementById('{!$Component.form1.name}').value=duplicate;
<apex:inputField id="name" value="{!CAF_Bank__c.Bank_Name__c}">
can i do this ..
plz some one help me how can i assign a variable to the current field in a form...
Thanks&Regards,
Anu...
see this article
http://wiki.developerforce.com/index.php/Adding_CAPTCHA_to_Force.com_Sites
there is an apex form that assigns values to hidden form fields
All Answers
see this article
http://wiki.developerforce.com/index.php/Adding_CAPTCHA_to_Force.com_Sites
there is an apex form that assigns values to hidden form fields
Hi Ron Hess,
Thank u so much for your help...