Java form | Sololearn: Learn to code for FREE!


Java form

I have a java code where if a field is empty it shows an alert,else it send information to a database and set files back to blank,it works fine but, even when shows the alert it sets the fields back to blank. I don't have the code on my phone so I wrote a similar code on html and JavaScript, this one is working though,I'm kind of lost with the other

1/31/2019 2:14:08 PM


3 Answers

New Answer


Mind To Machine πŸ’»πŸ•† I do know they're not the same,is just I don't have the code here,and the principal of the loop is the same,it's an "IF" that should not continue on the condition,but it does,as soon as is get my computer I'll paste the java code,but thx for answering


Alandec don't get confuse with java and javascript, they are totally different


When I was coping the code realized that the set code was outside de {} ,thanks anyway