disableautofill.js icon indicating copy to clipboard operation
disableautofill.js copied to clipboard

reinitialize

Open mrphuzz opened this issue 5 years ago • 0 comments

I am using ajax to submit a form to a php script. The script potentially returns a result with a 500 header so that ajax will return the error callback. However, disableAutoFill as already unmangled the field names. If I execute disableAutoFill again, any time I submit the form, the event gets fired multiple times. So, how can I reinitialize disableAutoFill if the previous form submission resulted in ajax fail callback? (If this isn't understood, I'll be happy to go over this again, but in excruciating detail!)

mrphuzz avatar Jan 25 '20 02:01 mrphuzz