+ 1

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 https://code.sololearn.com/WnH7088HfDDP/?ref=app

31st Jan 2019, 2:14 PM
Alandec
3 Respostas
+ 2
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
31st Jan 2019, 2:26 PM
Alandec
+ 1
Alandec don't get confuse with java and javascript, they are totally different
31st Jan 2019, 2:22 PM
Mind To Machine 💻🕆
Mind To Machine 💻🕆 - avatar
0
When I was coping the code realized that the set code was outside de {} ,thanks anyway
1st Feb 2019, 9:51 PM
Alandec