3

Well I did a stupid thing the other day. I was so pissed at myself. I had a form on my website for people to email me and it was working fine. I was tired of the form variables staying filled out so I decided to use some Javascript to clear the values when they click the button. I didn't think about the fact that the Javascript would fire before the backend code and so I was getting blank emails. I finally figured this out and instead just gave users a button to clear the form's input fields.

Comments
  • 1
    callback functions to the rescue?
  • 0
    @liammartens Oh I haven't learned those yet.
  • 2
    I read the first sentence and felt identified. Then read the second one an felt even more identified. Then I read the rest and I didn't identify with it at all... but what a what to keep your readers engaged dude! nice!
  • 0
    @palecio Thanks man! I just had to tell about my terrible experience so others can avoid my dumb mistake.
Add Comment