Using Update Behavior Custom PHP Data Edits
Ray, thanks for your quick response. I understand what you're saying in your reply. What I don't understand is how do I make the update behavior conditional based upon the form fields passing my PHP edits? I thought enclosing the update behavior within an IF statement would work. But, you're saying the update behavior has to be kept in it's own code chunk. Plus, when I updated the behavior it deleted my code. I'm thinking I can use a "hidden" field on the form and update it to say the edits passed or failed. Then test the "hidden" field using the Trigger feature of the update behavior. However, since the Trigger feature using the Lightning Bolt (dynamic) is not adequately explained I have no idea what to put there. Do I put an IF statement, just the "hidden" field or what? Any insight you have on using the Trigger feature would be appreciated. If none of this is viable my other option is to just create another program to do the updates when the form is properly edited. I wanted to say away from this option, if possible. The bottom line is that I don't want the update behavior executed if any field does not pass my edits.