You need to sign in to do that
Don't have an account?
NT
Validation Rules runs on any action
Hi All,
I have a VF page with three pageBlocks. All these have their own buttons.
My problem is if any button is pressed from second pageBlock than all the
validation rules on first,second,third pageblock runs while I am rendering only the second pageBlock.
I want that only second pageBlock's validation rules should run when I press second pageBlock's button.
I am using the inputField on the page.
I can't change the inputField to inputText or any one else
and I can't use the immediate property also.
Any suggestion.
Nitin Gupta
Not sure on this as I've not tried it but perhaps an ActionRegion around each Pageblock may help?
Have a look at ActionRegion in the VS documentation.
I'd be interested in the solution to this as I have come across similar problems as well and have used rendered attribute to actually hide the section I don't want to update when perhaps there is a way and keep everything on the screen..
R.
Thank you Richie,
Yes, ActionRegion is working.
Regards,
Nitin Gupta