admin 6/16/2021 | |
Show us your exact code in this event. |
S
|
smez author 6/16/2021 |
I have figured this out. I am using a session variable created by a custom button before redirecting to the add page: $values["itemsID"] = $_SESSION["quote2title"]; ..and then immediately unset the session variable: ...which created the return false error. The solution is to only unset the session variable if return is true: $values["itemsID"] = $_SESSION["quote2title"]; The code above is a simplified version of my Before Record Added code but it illustrates the problem and solution for my server side validation when I need to use session variables in $values. |