[color=black][font=verdana]Hello[/font][/color]
[font=Verdana] [/font]
[color=black][font=verdana]I want to check if an input text field is empty.[/font][/color]
[color=black][font=verdana]I only managed to do it this way;[/font][/color]
[color=black][font=verdana] [/font][/color]
[color=black][font=verdana]mytext = textfield.text;[/font][/color]
[font=Verdana]if(mytext != “”) …[/font]
[font=Verdana] [/font]
[font=Verdana]The problem with this approach is that I also want to exclude variables with whitespaces.[/font]
[font=Verdana]I tried; [/font]
[font=Verdana]if(!isEmpty(mytext) )… [/font]
[font=Verdana]but that didnt work.[/font]
[font=Verdana] [/font]
[font=Verdana]Any suggestions?[/font]