Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Migrating 'old style' custom validation to a Business Map validation
#3
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_values
Do 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 return
Thanks for the heads up, that was a remnant from when the script used 'echo' in stead of 'return'.
Reply


Messages In This Thread
RE: Migrating 'old style' custom validation to a Business Map validation - Guido1982 - 04-06-2018, 09:47 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)