+ Start a Discussion
Sfdc wonderSfdc wonder 

IS my code results in View State Error ?????


i was developed one visualforce page with using JQuery vertical Tabs.its working fine but i little worried about use two forms in that single visualforce page. Is it fine to use two form in single VF page ??

I have alternative to use <apex:include> for including VF page in another VF page !!

Please suggest us which one is better .....
I am not sure if there is some other reason for wanting two form tags in your page you are not describing in your question. However in Visualforce this is not required, in fact in the past it has caused performance issues with multiple viewstate being output to the page (though this has now been resolved). So I personally would avoid it unless you have good reason to use multiple form tags

check here https://developer.salesforce.com/page/An_Introduction_to_Visualforce_View_State