+ Start a Discussion
anvesh@force.comanvesh@force.com 

Is standard Text box id's will change when we create in Visual Force Page ?

I created Visual force page and created contact using <apex:input field value{!Opportunity.contact}

Is the Text box of id will change in the VF page. when i go to the inspect eliment i saw a different Id's for Text box.

If this is the case i have 4 VF pages on same object(Oportunity) based on different record types. I have to pass the values(contact,account) on custom button. If diff id's is there how should i do this?
KaranrajKaranraj
You can able to set the value to the id attribute for input field in visualforce page.
<apex:inputField value="{!account.name}" id="frmId"/>