04-06-2018, 09:47 AM
Ah, so it would be better to create multiple validations for each use case I think? I now use one script that checks multiple possible errors, but it would be better to split them I think?
Quote:control the case of inline edit where you do not have all the field values in screen_valuesDo you mean the 'old' field value versus the value the user is trying to change to, or do you mean not all the record values?
Quote:you don't need the die() after the returnThanks for the heads up, that was a remnant from when the script used 'echo' in stead of 'return'.