You need to sign in to do that
Don't have an account?
sandeep.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.
<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.