function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sandeep.sainisandeep.saini 

validation bypass doesn't work on immediate="true" in summer 13 release.

I have following sample page in my sandbox which is affected by summer 13 release.
<apex:page standardController="Contact">

<apex:form>
<apex:pageBlock>
<apex:pageBlockSection id="sec1">
<apex:inputfield value="{!contact.Birthdate}" required="true"/>
</apex:pageBlockSection>
<apex:commandButton value="save" action="{!save}" immediate="true" />
</apex:pageBlock>
</apex:form>
</apex:page>

I am using immediate='true' so that I don't get required field error on rerendering sec1. But stillI got it.


If I try above coding in spring 13. Its works perfectly fine. All I mean is that immediate='true' doesn't works perfectly in summer 13. It doesn't pass page validation.