You need to sign in to do that
Don't have an account?

validation rules for a visualforce page
Hi,
We have a custom visualforce page for our Opportunity object.
I am able to add new fields to this Opportunity object in our refreshed sandbox without issue. However, adding new fields breaks one of our validation rules. I'm not sure why this is, given the validation rule,requiring certain fields to be filled out before going from stage A to stage B, does not have anything to do with the newly added fields. I still briefly see the error messages that should be received before the record is saved as Stage B. Any ideas what might be causing this?
Or at minimum, where would this validation rule live? On the visualforce page? On the Apex Controller for the page?
Any help appreciated!
We have a custom visualforce page for our Opportunity object.
I am able to add new fields to this Opportunity object in our refreshed sandbox without issue. However, adding new fields breaks one of our validation rules. I'm not sure why this is, given the validation rule,requiring certain fields to be filled out before going from stage A to stage B, does not have anything to do with the newly added fields. I still briefly see the error messages that should be received before the record is saved as Stage B. Any ideas what might be causing this?
Or at minimum, where would this validation rule live? On the visualforce page? On the Apex Controller for the page?
Any help appreciated!
That is not logical indeed.
- if you remove these new fields, the validation rules works fine again? (that is not the real reason perhaps)
- what are your log levels (developer console) and have you some informations in your detailed log?
Developer console:Regards
Alain